getclf                package:mvnmle                R Documentation

_C_r_e_a_t_e _l_i_k_e_l_i_h_o_o_d _f_u_n_c_t_i_o_n _f_o_r _m_u_l_t_i_v_a_r_i_a_t_e _d_a_t_a _w_i_t_h _m_i_s_s_i_n_g _v_a_l_u_e_s

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

     `getclf' returns a function proportional to twice the negative log
     likelihood function for multivariate normal data with missing
     values.  This is a private function used in `mlest'.

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

     getclf(data, freq)

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

    data: A data frame sorted so that records with identical patterns
          of missingness are grouped together.

    freq: An integer vector specifying the number of records in each
          block of data with identical patterns of missingness.

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

     The argument of the returned function is the vector of parameters.
     The parameterization is: mean vector first, followed by the log of
     the diagonal elements of the inverse of the Cholesky factor, and
     then the elements of the inverse of the Cholesky factor above the
     main diagonal.  These off-diagonal elements are ordered by column
     (left to right), and then by row within column (top to bottom).

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

     A function proportional to twice the negative log likelihood of
     the parameters given the data.

_R_e_f_e_r_e_n_c_e_s:

     Little, R. J. A., and Rubin, D. B. (1987) Statistical Analysis
     with Missing Data.  New York: Wiley.

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

     `mlest'

