Zelig                 package:Zelig                 R Documentation

_Z_e_l_i_g: _E_v_e_r_y_o_n_e'_s _S_t_a_t_i_s_t_i_c_a_l _S_o_f_t_w_a_r_e

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

     _Zelig_ provides a unified notation and framework for statistical
     analysis by encompassing many other statistical methods.  It also
     makes it easy to interpret and present statistical results by
     simulating quantities of interest from their corresponding
     posterior distributions.  Full documentation is available online
     at <URL: http://gking.harvard.edu/zelig>, and help for specific
     commands is available through link{'help.zelig'}.

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

     z.out <- zelig(formula, model, data, ...)
     x.out <- setx(z.out, ...)
     s.out <- sim(z.out, x = x.out, num = 1000, ...)

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

 formula: formula used for a statistical model, using, for example, the
          symbolic representation 'Y ~ X1 + X2'.  Note that '+' denotes
          inclusion, not addition, in the case of the non-linear
          models.

   model: name of a statistical model.  Refer to 'help.zelig("models")'
          for a full list of models. 

    data: data frame containing variables called in 'formula'.

   z.out: output from 'zelig'.

   x.out: output from 'setx'.

     num: number of simulations, i.e., posterior draws.

       x: values of explanatory variables used for simulation.

     ...: additional arguments affecting estimation, values of
          explanatory variables, and simulation.

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

     The following steps are required. First, a model is estimated via
     'zelig'. Next, with 'setx', the users define the values of
     explanatory variables according to which the quantities of
     interest are simulated. Third, 'sim' draws quantities of interest
     from their corresponding posterior distributions or their
     asymptotic Normal approximation. Finally, 'summary' provides a
     useful summaries for the estimated model and simulated quantities
     of interest.

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

   z.out: output object from 'zelig'.

   x.out: output object from 'setx'.

   s.out: output object from 'sim'.

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

     Kosuke Imai <kimai@princeton.edu>; Gary King <king@harvard.edu>;
     Olivia Lau<olau@fas.harvard.edu>

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

     Gary King, Michael Tomz, and Jason Wittenberg (2000), ``Making the
     Most of Statistical Analyses: Improving Interpretation and
     Presentation,'' _American Journal of Political Science_, vol. 44,
     pp. 347-355.

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

     Please use link{'help.zelig'} to access the Zelig reference
     manual.  The complete document is available online at <URL:
     http://gking.harvard.edu/zelig>.

