ppssstrat                package:pps                R Documentation

_S_t_r_a_t_i_f_i_e_d _P_P_S _s_y_s_t_e_m_a_t_i_c _s_a_m_p_l_i_n_g

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

     In each stratum, select a sample using pps systematic sampling

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

     ppssstrat(sizes,stratum,n)

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

   sizes: A vector of the sizes of the units in the population, sorted
          by stratum

 stratum: A vector of stratum codes, in the same order

       n: A vector containing the sample size in each stratum

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

     Returns the indices of the units that were selected in the sample

_N_o_t_e:

     'ppssstrat' calls 'ppss' once per stratum. See the user's guide,
     pps.pdf, for more information.

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

     sizes <- c(1:5,10:6)*10
     strat <- c(1,1,1,2,2,3,3,3,3,3)
     n <- c(2,1,3)
     ppssstrat(sizes,strat,n)

