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-
mhodds and test for trendDear Listers, I am considering using the -mhodds- command for an expvar with more than 2 levels in …
Error in finding host for ssc package downloadHi all, I'm currently working on my thesis with the Abadie-Imbens estimator and have been using Sta…
Choosing reference/base periods in panel data and normalizing the corresponding coefficient to zeroHi I am looking to do two things with a panel dataset (c350 firms and annual data from 2008 to 2016…
Including lags in a xtreg regressionHello, I have a panel dataset containing quarterly data from 2000-2016. I want to do a regression w…
erase file error when confirm file and save file workTrying to confirm whether a file exists, and erase it if it does exist. Can't seem to figure out how…
Subscribe to:
Post Comments (Atom)
0 Response to Penalized spline models with -mixed-
Post a Comment