Hello,
I have run a linear mixed model to test the within-subject difference in activity behaviours (eg sleep, sedentary time etc) between 2 different timepoints (school vs. holidays). The trouble is, there is unequal variance in the activity behaviours. I'm wondering how I should deal with this.
An example of the syntax I am using is below. i.time_new refers to summer vs. school timepoints, and the participants are nested in schools and in waves.
mixed activity behaviour i.time_new || wave: || schoolid: || id:
Thanks for your help.
Related Posts with How to deal with unequal variance - mixed effects linear regression
Presence of Heteroskedasticity, Autocorrelation and Cross-sectional Dependence/Contemporaneous Correlation - Panel DataI have a quarterly balanced panel data with 8 independent variables from 2000q1:2012:q2 (n=20 and T=…
Loop/Local Macro Not WorkingHello, Recently I've been having a lot of trouble with local macros, especially when using them for…
Axis manipulation in coefplot iwth multiple subgraphsHello Stata Users, I have 4 different sets of regression coefficients that I would like to plot usin…
Convert Variable Values to Separate VariableHello, I am part of a research team analyzing survey data regarding attitudes towards a specific he…
Robust standard errors with alternative applicationDear all, I wonder if anyone knows about an application or user written program that can be used to …
Subscribe to:
Post Comments (Atom)
0 Response to How to deal with unequal variance - mixed effects linear regression
Post a Comment