Replies: 1 comment
-
Complete |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Refined version of adding Standard Error Bars
gam(error ~ t2(turnout, dem, log(dens)) + s(white) + s(hh), data = d)
For projecting the standard error bars of each point of the fitted error in Kenny et al. original graphs, instead of using the "geom_errorbar", use "geom_pointrange".
-->"refine_addRange_race_error.pdf"
--> "refine_addRange_herfindahl_error.pdf"
Plot the fitted error (response variable) against distinct predictor variable (Herfindahl Index or Non-White Percent).
Project the aforementioned standard error bars of each point of the fitted error to the graphs.
gam (error ~ s(hh),data=d)
-->Plot [Fitted Error Vs HHI]
--> "gamHHI_herfindahl_error.pdf"
gam(error ~ s(white), data = d)
--> Plot [Fitted Error Vs Non-White Percent]
--> "gamNonWhite_race_error.pdf"
Beta Was this translation helpful? Give feedback.
All reactions