Qfun                   package:eco                   R Documentation

_F_i_t_t_i_n_g _t_h_e _P_a_r_a_m_e_t_r_i_c _B_a_y_e_s_i_a_n _M_o_d_e_l _o_f _E_c_o_l_o_g_i_c_a_l _I_n_f_e_r_e_n_c_e _i_n
_2_x_2 _T_a_b_l_e_s

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

     'Qfun' returns the complete log-likelihood  that is used to
     calculate the fraction of missing information.

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

     Qfun(theta, suff.stat, n)

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

   theta: A vector that contains the MLE E(W_1),E(W_2),
          var(W_1),var(W_2), and cov(W_1,W_2). Typically it is the
          element 'theta.em' of an object of class 'ecoML'.

suff.stat: A vector of sufficient statistics of E(W_1), E(W_2),
          var(W_1),var(W_2), and cov(W_1,W_2).

       n: A integer representing the sample size.

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

     Kosuke Imai, Department of Politics, Princeton University,
     kimai@Princeton.Edu, <URL: http://imai.princeton.edu>; Ying Lu,
     Department of Humanities and Social Sciences in the  Professions,
     Steinhardt School of Culture, Education and Human  Development,
     New York University,  yl46@Nyu.Edu Aaron Strauss, Department of
     Politics, Princeton University, abstraus@Princeton.Edu.

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

     Imai, Kosuke, Ying Lu and Aaron Strauss. (Forthcoming). "eco: R
     Package for Ecological Inference in 2x2 Tables" Journal of
     Statistical Software, available at <URL:
     http://imai.princeton.edu/research/eco.html>

     Imai, Kosuke, Ying Lu and Aaron Strauss. (2008). "Bayesian and
     Likelihood Inference for 2 x 2 Ecological Tables: An Incomplete
     Data Approach" Political Analysis, Vol. 16, No. 1 (Winter), pp.
     41-69. available at  <URL:
     http://imai.princeton.edu/research/eiall.html>

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

     'ecoML'

