I couldn’t find this specifically addressed anywhere, so apologies if I missed something.
In the past, I have used srvyr to generate estimates using replicate weights from other data products, but I have a question about doing something similar with the CPS basic monthly.
I’m working with several months of CPS basic monthly data to estimate state-level unemployment rates by race.
I am using compwt (and then divided by number of months in my sample) as my weight because it’s my understanding that is the correct weight to use for analyses related to monthly employment.
If I want to generate the correct SE and MOE estimates in R using srvyr, do I just need to run something like
svy_employment <- as_survey(cps_data, weights = compwt)
or are there other arguments, etc., that need to be specified?