maximisationType {micEcon} | R Documentation |
Returns the type of optimisation. It should be returned by the optimisation routine.
maximisationType(x)
x |
object of class 'maximisation' or another object which involves numerical optimisation. |
A text message, describing the involved optimisation algorithm
Ott Toomet, otoomet@ut.ee
## maximise two-dimensional exponential hat. Maximum is at c(2,1): f <- function(a) exp(-(a[1] - 2)^2 - (a[2] - 1)^2) m <- maxNR(f, start=c(0,0)) summary(m) maximisationType(m) ## Now try BHHH maximisation. It shouldn't work but does. m <- maxBHHH(f, start=c(0,0)) summary(m) maximisationType(m)