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
Quantile Regression Plot ErrorHi I ran the following code : Code: xi: qreg price i.treatment i.state i.year [pw=round(weight)]…
Help needed for using data frames to extract dataHi, I am using Stata 16 and would need help in the extraction of data. I intend to use data frames …
Moving Average Industy YearDear All, I am using stata 15 under windows 10 At the moment I am working with a panel dataset (wi…
Using loops to generate dummy for placebo regressionsHi In my dataset I have yearly variable, from 1995 to 2006 and a treatment happening in year 2003. I…
Foreach recodeHello. Sorry, if my question seems stupid to you, im fairly new to stata and cant seem to figure out…
Subscribe to:
Post Comments (Atom)
0 Response to How to deal with unequal variance - mixed effects linear regression
Post a Comment