sqlvar               package:surveyNG               R Documentation

_H_o_r_v_i_t_z-_T_h_o_m_p_s_o_n _e_s_t_i_m_a_t_o_r _f_o_r _m_u_l_t_i_s_t_a_g_e _s_a_m_p_l_i_n_g

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

     Computes the estimated variance matrix for a population total
     estimate under stratified multistage cluster sampling with or
     without replacement. The variables must be in a separate table
     from the main survey data table; they will typically be estimating
     functions. The table must have the same key variable as the main
     data table, which will be used for an inner join.

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

     sqlvar(U, utable, design)

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

       U: Vector of strings for variable names 

  utable: String with name of data table for variables

  design: 'sqlsurvey' object 

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

     A matrix

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

     'sqlsurvey'

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

