Returns the Observed Information Matrix --- Generic Function
Returns the Observed Information Matrix --- Generic Function
Returns the observed information matrix from a fitted model object.
obsInfo(object,...)
Arguments
object: any fitted model object for which the observed information matrix can be calculated.
...: absorbs any additional argument.
Details
This function is generic (see methods); method functions can be written to handle specific classes of data. Classes which already have methods for this function include: nlreg.
Returns
the observed information matrix for a fitted regression model.
See Also
obsInfo.nlreg, nlreg.object, expInfo
Examples
data(metsulfuron)metsulfuron.nl <- nlreg( log(area)~ log( b1+(b2-b1)/(1+(dose/b4)^b3)), weights =~(1+dose^exp(g))^2, data = metsulfuron, start = c(b1 =138, b2 =2470, b3 =2, b4 =0.07, g = log(0.3)), hoa =TRUE)obsInfo( metsulfuron.nl )