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

Create multistage stratified sample from apipop #273

Open
2 tasks
smishr opened this issue Mar 1, 2023 · 6 comments
Open
2 tasks

Create multistage stratified sample from apipop #273

smishr opened this issue Mar 1, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@smishr
Copy link
Contributor

smishr commented Mar 1, 2023

Multistage stratified surveys have stratas and clustering.

I suggest drawing a sample from apipop with strata and clustering and export it in assets/. Use that data for testing the various algorithms in Survey.jl

  • Draw a multistage stratified sample from assets/apipop
  • Save it as assets/apimultistrat

Keep it as flat file (.csv) for now

@smishr smishr added this to the Improving survey design schemes milestone Mar 1, 2023
@smishr smishr added enhancement New feature or request good first issue Good for newcomers labels Mar 1, 2023
@ayushpatnaikgit
Copy link
Member

@britgyu wants to do this. @smishr are you confident this is a “good first issue”?

@smishr
Copy link
Contributor Author

smishr commented Mar 7, 2023

@britgyu wants to do this. @smishr are you confident this is a “good first issue”?

yes. they should give link to the code they used for drawing the multi stage sample, so we can double check and tweak if needed

@ayushpatnaikgit
Copy link
Member

I remember there being a page where the author using dplyr to create sample datasets from apipop. Do you remember?

@smishr
Copy link
Contributor Author

smishr commented Mar 7, 2023

yes i have that code somewhere in my testing R file

@ayushpatnaikgit
Copy link
Member

Can you dig out the link? I remember it was using srvyr

@smishr
Copy link
Contributor Author

smishr commented Mar 9, 2023

Click on drop down arrow where it says "Show R Code to make data" on this blog post

@ayushpatnaikgit ayushpatnaikgit removed the good first issue Good for newcomers label Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants