Download presentation
Presentation is loading. Please wait.
Published byUrsula Warner Modified over 8 years ago
1
Mar-16H.S.1Mar-16H.S.1 Stata 5, Mixed Models Not finished Hein Stigum Presentation, data and programs at: http://folk.uio.no/heins/
2
Mar-16H.S.2 Dependent data Ability to recognize neighbor car
3
Mar-16H.S.3 Distribution by sex
4
Mar-16H.S.4 Model 1 regress rcModel without sex predict res, resResiduals twoway (scatter res id)Residual plot
5
Mar-16H.S.5 Residuals sorted
6
Mar-16H.S.6 Model 2 gen male =(sex==0) gen female=(sex==1) regress rc male female, noconstModel with sex predict res, resResiduals twoway (scatter res id)Residual plot Model results: male = 0.7 female=-0.7
7
Mar-16H.S.7 3 lessons learned 1.Omitting predictor dependent residuals 2.Not evident from residual plot 3.+ constant terms remove dependencies 4.y-data may be dependent, y|x (or residuals) must be independent
8
Mar-16H.S.8 2 data sets
9
Compare regression methods Fixed effects models Conditional models Mixed models Mar-16H.S.9
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.