I was supposed to be doing other work right now, but I just discovered there's a new USSC study on racial sentencing disparities with regression output at the end. So a couple thoughts after a brief skim! https://www.ussc.gov/sites/default/files/pdf/research-and-publications/research-publications/2017/20171114_Demographics.pdf …
With rms, it's as easy as adding rcs(x, 3) in your model formula. The 3 is the number of knots (points where functions meet), so you can add more if your data can support it & it is needed (usually it is not).
-
-
Interesting, thanks! I'll have to mess with that sometime.
-
Let me know if you need some examples. Since reading
@f2harrell's book, I've been using his package all the time for my regression modeling needs. Was considering writing a nicer wrapper for the function so I can get standardized betas (Frank doesn't like them.) - End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.