1 / 9

Stata 5, Mixed Models Not finished

Stata 5, Mixed Models Not finished. Hein Stigum Presentation, data and programs at: http://folk.uio.no/heins/. Jan-20. H.S. 1. Dependent data. Ability to recognize neighbor car. Distribution by sex. Model 1. regress rc Model without sex predict res, res Residuals

tbull
Download Presentation

Stata 5, Mixed Models Not finished

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Stata 5, Mixed ModelsNot finished Hein Stigum Presentation, data and programs at: http://folk.uio.no/heins/ Jan-20 H.S. H.S. 1

  2. Dependent data Ability to recognize neighbor car H.S.

  3. Distribution by sex H.S.

  4. Model 1 regress rcModel without sex predict res, resResiduals twoway (scatter res id)Residual plot H.S.

  5. Residuals sorted H.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 H.S.

  7. 3 lessons learned • Omitting predictor  dependent residuals • Not evident from residual plot • + constant terms  remove dependencies • y-data may be dependent, y|x (or residuals) must be independent H.S.

  8. 2 data sets H.S.

  9. Compare regression methods • Fixed effects models • Conditional models • Mixed models H.S.

More Related