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

ENH: update the script #10

Open
vkhodygo opened this issue Jul 20, 2023 · 2 comments
Open

ENH: update the script #10

vkhodygo opened this issue Jul 20, 2023 · 2 comments

Comments

@vkhodygo
Copy link
Member

Statistics needed for whole population and groups (by time and run) important to the study of inequalities (education, households type, gender, age group, income quintile)

  • mean: ghqcase, ghqlike, employment, hours worked, income, poverty
  • median: ghqlike, hours worked, income
  • count: ghq cases, employed, hours worked categories, poverty
  • iqr: ghqlike, hours worked, income
  • 25th percentile: ghqlike, hours worked, income
  • 75th percentile: ghqlike, hours worked, income
  • 10th percentile: income
  • 90th percentile: income
  • 90/10 ratio: income
@andrewbaxter439
Copy link
Member

I've added some sample code across some functions in https://github.com/MRC-CSO-SPHSU/reading_simpaths_multirun_data/blob/master/R/two_reading_methods.R which will calculate (almost) all of the above. Takes three methods:

  • arrow processing for simple tasks
  • read in and batch process for complex tasks (like quantiles)
  • count labour supply categories and reshape

Then binds them together.

Does this suit?

@vkhodygo
Copy link
Member Author

Does this suit?

Nope, but for a different reason. Keep it all in one repo.

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

No branches or pull requests

2 participants