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

General ratio estimation for SurveyDesign #156

Closed
Tracked by #165
smishr opened this issue Dec 21, 2022 · 6 comments · Fixed by #181
Closed
Tracked by #165

General ratio estimation for SurveyDesign #156

smishr opened this issue Dec 21, 2022 · 6 comments · Fixed by #181
Assignees
Labels
enhancement New feature or request maths heavy For more maths heavy tasks, implementations
Milestone

Comments

@smishr
Copy link
Contributor

smishr commented Dec 21, 2022

TODO:

  • ratio method that returns survey ratio of two columns. analogoues to svyratio command in R
  • Firstly focus on point estimate only, later look at variance
  • Look into svyratio.survey.design in R survey , I think line 755 is the main caluclation for svyratio
@smishr smishr added enhancement New feature or request maths heavy For more maths heavy tasks, implementations labels Dec 21, 2022
@smishr smishr added this to the 0.3.0 release milestone Dec 21, 2022
@sayantikaSSG
Copy link
Collaborator

The ratio method is added for survey ratio of two columns.
The Standard error is calculated using Jackknife method for simplicity.
Please refer to #158 pull request.

@ayushpatnaikgit
Copy link
Member

The ratio method is added for survey ratio of two columns. The Standard error is calculated using Jackknife method for simplicity. Please refer to #158 pull request.

This only for OneStageClusterSample.

@smishr smishr changed the title General ratio estimation General ratio estimation for SurveyDesign Jan 4, 2023
@smishr
Copy link
Contributor Author

smishr commented Jan 15, 2023

@sayantikaSSG @ayushpatnaikgit should we try to do this in next few days?

@smishr
Copy link
Contributor Author

smishr commented Jan 22, 2023

#181 will update ratio method with bootstrap to calculate variance estimate

@smishr
Copy link
Contributor Author

smishr commented Jan 22, 2023

#187 added above feature into dev branch

@smishr smishr linked a pull request Jan 22, 2023 that will close this issue
@ayushpatnaikgit
Copy link
Member

#181 will be merged, so let's close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request maths heavy For more maths heavy tasks, implementations
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants