What is R code substitute for STATA command of using analytical weights [aw = weights]
I have no idea as I have never used STATA but if you are asking about survey weights you might want to have a look at How to Use Survey Weights in R
If you're used to
tidyverse, I recommend checking out the
srvyr package instead of
survey. Here's a short course that might help out: GitHub - tidy-survey-r/tidy-survey-short-course: Tidy Survey Analysis in R using the srvyr Package: Short Course in addition to the package documentation.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.