response-classes          package:depmixS4          R Documentation

_C_l_a_s_s "_G_L_M_r_e_s_p_o_n_s_e" _a_n_d _c_l_a_s_s "_t_r_a_n_s_I_n_i_t"

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

     Specific instances of response models for 'depmix' models.

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

     The 'GLMresponse'-class offers an interface to the 'glm' functions
     that are subsequently used in fitting the 'depmix' model of which
     the response is a part.

     The 'transInit' is an extension of 'response' that is used to
     model the transition matrix and the initial state probabilities by
     the use of a multinomial logistic model, the difference being that
     in fact the response is missing as the transitions between states
     are not observed.  This class has its own fit function which is an
     interface to the multinom function in 'nnet'.

_S_l_o_t_s:

     Both 'GLMresponse' and 'transInit' contain the 'response'-class.
     In addition to the slots of that class, these classes have the
     following slots: 



     '_f_o_r_m_u_l_a': A formula that specifies the model.

     '_f_a_m_i_l_y': A family object specifying the link  function.
          Currently, the only options are 'gaussian()' from  the
          'stats'-package and 'multinomial'.

_A_c_c_e_s_s_o_r _F_u_n_c_t_i_o_n_s:

     The following functions should be used for accessing the
     corresponding slots:

     '_n_p_a_r': The number of parameters of the model.

     '_g_e_t_d_f': The number of non-fixed parameters.

_A_u_t_h_o_r(_s):

     Ingmar Visser & Maarten Speekenbrink

