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-
Intuition on why Fixed-effects models depend on there being variation within the unit of analysis.I am new to econometrics and tried to find the answer on google, but couldn't find any. I've learned…
Ask experts for help:how to set the prior of regression coefficients that follow dirichlet distribution in bayes modelHello, statistics experts, I have a question that troubles me for long time. My purpose to estimate …
EFA-Factor AnalysisHello, I have survey data where five main factors and each factor has a set of questions. As we kno…
Dropping observations after the first time the treatment turns offHello, I need some help finding a solution to the following problem: I want to drop all the observat…
how to calculate the moving average for a variableDear all I am trying to calculate the average bond maturity over the preceding three months as an i…
Subscribe to:
Post Comments (Atom)
0 Response to Penalized spline models with -mixed-
Post a Comment