powered by
UPrandompivotal(pik)
UPpivotal
#define the prescribed inclusion probabilities pik=c(0.2,0.7,0.8,0.5,0.4,0.4) #select a sample UPrandompivotal(pik)
Run the code above in your browser using DataLab