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

Summary Statistics #9

Open
eldreddyl opened this issue Apr 21, 2022 · 2 comments
Open

Summary Statistics #9

eldreddyl opened this issue Apr 21, 2022 · 2 comments

Comments

@eldreddyl
Copy link
Owner

eldreddyl commented Apr 21, 2022

Summary Statistics

  • My original regression model was not producing significant results, so I'm taking a step back and am going to attempt to find patterns in the sample.
  • At different thresholds of occupational risk (25th, 50th, 75th, 90th percentiles) compare means of insurance coverage, union membership, income, marriage

Ideally table will look like:

Variable 25th Percentile 50th Percentile ....
Included in Emp Health Plan X.X X.X ...
% Union Membership Y.Y Y.Y ....
@eldreddyl
Copy link
Owner Author

Histogram

  • It might also be helpful to create a boxplot that plots mean coverage rates against bins of fatality rates
  • Still learning how to create plots in Stata, but here is a useful guide

@eldreddyl
Copy link
Owner Author

Percentiles for Fatality Rates

  • Lowest risk jobs (fatality rate below 25th percentile)

    • gen f_rate0 = (f_rate < 1.54)
  • 25th percentile

    • gen f_rate25 = (f_rate >= 1.54)
  • 50th percentile

    • gen f_rate50 = (f_rate >= 2.96)
  • 75th percentile

    • gen f_rate75 = (f_rate >= 5.74)
  • 95 percentile

    • gen f_rate95 = (f_rate >= 18.77)

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

1 participant