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

CategoricalArrays ("Factor") variables support for population proportions and counts #268

Open
smishr opened this issue Feb 27, 2023 · 1 comment
Assignees
Labels
food for thought High level ideas/links or thoughts for long run dev of project

Comments

@smishr
Copy link
Contributor

smishr commented Feb 27, 2023

In R survey, population proportions and counts are calculated using mean and total respectively. Previously in Survey.jl we followed this approach, which can be seen in AnalyticalSolution branch.

I am wondering if a more "Julian" approach would be to have prop and count (fn name could be different) functions separately? This way we dont clutter mean and total estimators too much with extra if-else ladders or methods, and have clean work for prop and count specific functionalities.

Thoughts?

See #52 for previous discussion on categorical arrays

@smishr smishr added the food for thought High level ideas/links or thoughts for long run dev of project label Feb 27, 2023
@smishr
Copy link
Contributor Author

smishr commented Feb 27, 2023

@ayushpatnaikgit what do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
food for thought High level ideas/links or thoughts for long run dev of project
Projects
None yet
Development

No branches or pull requests

4 participants