Currently the generate_ps() function estimates the sample participation probabilities assuming that the target population data are either (1) the complete population or (2) a SRS drawn from the target population. In health research, it's common, however, for target population data sets to come from complex survey designs, requiring additional adjustments. It would be great to incorporate code to estimate weights when this is the case (i.e. from here)
Currently the
generate_ps()function estimates the sample participation probabilities assuming that the target population data are either (1) the complete population or (2) a SRS drawn from the target population. In health research, it's common, however, for target population data sets to come from complex survey designs, requiring additional adjustments. It would be great to incorporate code to estimate weights when this is the case (i.e. from here)