Random effects panel regression and mixed effects regression in Stata: A comparison of results

Поділитися
Вставка
  • Опубліковано 11 чер 2019
  • In this video, I analyze panel data using the 'xtreg' and 'mixed' commands using Stata. Both models assume randomly varying intercepts. I demonstrate the essential equivalence of results from these two methods. You can download a copy of the Stata data file here ( drive.google.com/file/d/1cyBK... ) and a copy of the text file referenced in the video here ( drive.google.com/file/d/1Lynz... ).

КОМЕНТАРІ • 10

  • @wasafisafi612
    @wasafisafi612 2 роки тому

    Thank you so much for your video

  • @jinlinliu1200
    @jinlinliu1200 4 роки тому

    Thanks, Mike.

  • @wasafisafi612
    @wasafisafi612 2 роки тому

    Thank you so much

  • @user-ni4tv6xq7f
    @user-ni4tv6xq7f Рік тому

    Thank you for the video. I have a question regarding control variables. How to include them in the code? Do I treat them like other predictors in the code by typing them next to them?

  • @Mohakule3
    @Mohakule3 Рік тому

    what if the overall p value of chibar(01) is not significant for mixed simple linear regression

  • @hamzahh9932
    @hamzahh9932 11 місяців тому

    excuse me, in ml random effect model, how to find r-square value??

  • @anuradhasaikia9305
    @anuradhasaikia9305 2 роки тому +1

    when to use mixed effects model?

  • @abujad4226
    @abujad4226 2 роки тому

    why only id ? where is year ?

    • @mikecrowson2462
      @mikecrowson2462  2 роки тому

      Hi Abu, for this model I was not modeling the outcome as a function of time per se. Oftentimes folks do want to include time as a predictor to model growth (or decay or some time of non-linear change) over time. I kept things rather simple in this demo. But you certainly can add in predictors to model change as a function of time. Cheers.