mu284                 package:survey                 R Documentation

_T_w_o-_s_t_a_g_e _s_a_m_p_l_e _f_r_o_m _M_U_2_8_4

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

     The MU284 population comes from Sarndal et al, and the complete
     data are available from Statlib. These data are a two-stage sample
     from the population, analyzed on page 143 of the book.

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

     data(mu284)

_F_o_r_m_a_t:

     A data frame with 15 observations on the following 5 variables.

     '_i_d_1' identifier for PSU

     '_n_1' number of PSUs in population

     '_i_d_2' identifier for second-stage unit

     '_y_1' variable to be analysed

     '_n_2' number of second-stage units in this PSU

_S_o_u_r_c_e:

     Carl Erik Sarndal, Bengt Swensson, Jan Wretman. (1991) "Model
     Assisted Survey Sampling" Springer.

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

     Full MU284 population at <URL:
     http://lib.stat.cmu.edu/datasets/mu284>

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

     data(mu284)
     (dmu284<-svydesign(id=~id1+id2,fpc=~n1+n2, data=mu284))
     (ytotal<-svytotal(~y1, dmu284))
     vcov(ytotal)

