Presentation is loading. Please wait.

Presentation is loading. Please wait.

Mar-16H.S.1Mar-16H.S.1 Stata 5, Mixed Models Not finished Hein Stigum Presentation, data and programs at:

Similar presentations


Presentation on theme: "Mar-16H.S.1Mar-16H.S.1 Stata 5, Mixed Models Not finished Hein Stigum Presentation, data and programs at:"— Presentation transcript:

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


Download ppt "Mar-16H.S.1Mar-16H.S.1 Stata 5, Mixed Models Not finished Hein Stigum Presentation, data and programs at:"

Similar presentations


Ads by Google