Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

specs using weighted survey data #27

Open
stuartjames1990 opened this issue Jul 19, 2022 · 1 comment
Open

specs using weighted survey data #27

stuartjames1990 opened this issue Jul 19, 2022 · 1 comment

Comments

@stuartjames1990
Copy link

Is there a way to specify the inclusion of weights in the specifications?

I'm replying on cross-national survey data (European Social Survey) where combined post-stratifcation and country population weight is required to produce representative results.

@mscharkow
Copy link
Collaborator

mscharkow commented Jul 19, 2022

If you use custom estimation functions (e.g. https://masurp.github.io/specr/articles/random_effects.html), it should be pretty easy to use weights (just add them to the function at some point during or post-estimation), at least when the weighting procedure is not varied as part of the multiverse. In that case, you'd probably need multiple custom functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants