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-
Bug: encoding ID string with tens of millions of unique IDsI have found a bug in Stata 17 MP, where my dataset has hundreds of millions of observations and ten…
loop in parallel with tokenize, comma as delimiterI'm currently using Stata for data management. Inspired by Nick Cox' (2021) paper "Speaking Stata: L…
Question about meologit Hello! I attempting to do a mixed model ordinal logistic regression with level 2 and level 1 varia…
Generating a variable that counts the appearance of a particular value in rolling bases (across rows) Dear Statalist, I am having some difficulties in creating a variable I need. I would greatly a…
Balance tests in a loop?Hello. I am currently trying to run balance tests in a dataset with respondents from 8 countries. T…
Subscribe to:
Post Comments (Atom)
0 Response to Penalized spline models with -mixed-
Post a Comment