expInfo                package:nlreg                R Documentation

_R_e_t_u_r_n_s _t_h_e _E_x_p_e_c_t_e_d _I_n_f_o_r_m_a_t_i_o_n _M_a_t_r_i_x - _G_e_n_e_r_i_c _F_u_n_c_t_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     Returns the expected information matrix from a fitted model
     object.

_U_s_a_g_e:

     expInfo(object, ...)

_A_r_g_u_m_e_n_t_s:

  object: any fitted model object for which the observed information
          can be calculated.  

     ...: absorbs any additional argument. 

_D_e_t_a_i_l_s:

     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'.

_V_a_l_u_e:

     the expected information matrix for a fitted regression model.

_S_e_e _A_l_s_o:

     'expInfo.nlreg', 'nlreg.object', 'obsInfo'

_E_x_a_m_p_l_e_s:

     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)
     expInfo( metsulfuron.nl )

