Hi,
I am currently working with the 2024 ACS 1 YEAR DATA that was published on december 18th.
I am trying to produce some estimates in R with the survey package, but as I was trying to save the design object, I encountered the next error:
disenio = svydesign(id=~CLUSTER, strata=~STRATA, data=data, weights=~PERWT, nest=TRUE) Error en (function (object, …) : missing values in strata'
Which means there are some missing data on the strata variable.
Looking at the data I realized there is no value for the 2024 data.
Looking at the documentation on the page, the variable is not listed as available for 2024.
So I am wondering if this an error? Or will it always be like that?
Best regards,
Natalia Oropeza
Thank you for noting that STRATA is missing in the 2024 ACS sample. I will check with my colleagues to see if we will offer this in the future. In the meantime, you can use Public Use Microdata Areas (PUMAs) to identify strata in the 2024 sample (strata are identified as unique PUMAs in the 2005-onward ACS samples).
Please note that replicate weights are the recommended method to produce standard error estimates. We offer a detailed user guide with sample code for generating error estimates using replicate weights. You can find person-level replicate weights in the variable REPWTP. Replicate weights do not require a strata or PSU identifier.
Thanks I willl try it. Sadly it adds a lot of weight to the microdata but its the way.
Best regards,
Natalia