Greetings, all.
I recently ran across a StataCorp presentation by Roberto Gutierrez that discussed using -xtmixed- to obtain penalized spline estimates (https://www.stata.com/meeting/uk08/gutierrez_mixed.pdf, slides 27 et seq). I am interested in updating this approach to use -mixed-, and to incorporate on multiple subjects per time point (I have states and years in this case, with the outcome being a score for each state/year combination).
I haven't had much luck beyond fitting the basic crossed effects model : mixed outcome || _all: R.state || all: R.year, which of course is treating years as factors and not providing a smoothed slope.
Curious to hear if anyone else has tried this and might have some advice.
Thanks!
Related Posts with Penalized spline models with -mixed-
winsor or truncate variable into a dummy variableGreetings everyone, is there any way I can use stata to get variables are winsorized so that the la…
How are cut points calculate in ordered logistic regression?Is there a formula available for how Stata calculates the cut points in ordered logistic regression …
Interacting with stata temporary variables within mata functionsI am attempting to pass a value within a mata function to a stata temporary variable in an ado file.…
Reversing scale for variables like life expectancy, enrollment ratesHello wonderful Stata helpers, I know this is less Stata-specific and more conceptual, but I would a…
How can i plot estimates of 3 different models (and each model has multiple estimates for time observations)?Hi everyone. I'm running 3 foreach loops to estimate 3 different models (they share some coefficient…
Subscribe to:
Post Comments (Atom)
0 Response to Penalized spline models with -mixed-
Post a Comment