Stata Tutorial: White Test for Heteroskedasticity

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 32

  • @OG-bb1bk
    @OG-bb1bk 3 года назад +4

    Great video Mike, you really helped me and my friends out with our project!

  • @ratheega
    @ratheega Год назад

    absolutely great ! thank you for the video

  • @Gstriker10
    @Gstriker10 4 года назад +3

    Thank you so much for this! Lifesaver!

  • @juanfelipearistizabalrinco7311
    @juanfelipearistizabalrinco7311 2 года назад

    Thank you for everything Mike

  • @jonathonharris8753
    @jonathonharris8753 Год назад

    nice and concise, thank you.

  • @tantruongkhanh1312
    @tantruongkhanh1312 Год назад

    Thank you very much Prof.

  • @AricRitenbaughLamonto
    @AricRitenbaughLamonto Год назад

    You are a life saver!

  • @saynaislamdibasaynaislamdi8875

    Thank you professor

  • @matthewariel547
    @matthewariel547 5 месяцев назад +1

    thankyou!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @saynaislamdibasaynaislamdi8875

    Thank you

  • @kanchithakkar8471
    @kanchithakkar8471 Год назад

    Thank you so much

  • @kanchandatta4668
    @kanchandatta4668 Год назад

    Mike why should we use c.for calculating square of the variable, say c.density, c.polpc ? kindly response.

  • @jacobmasseurs1546
    @jacobmasseurs1546 4 года назад +1

    This is awesome, thanks mate

  • @takshingwong2985
    @takshingwong2985 Год назад

    I have a question when I’m doing my white test I got a result of 193 degrees of freedom that’s exactly the same as the dataset. Is there a way to fix it?

  • @jawadtariq88
    @jawadtariq88 5 лет назад +2

    dear mike, can you please elaborate how to explain the result if imtest Command, how we will know that there is Heteroskedasticity. if Heteroskedasticity exists then how to treat it ?? is it bad for the model ?? or it effect the result ??

  • @febriangeliasaramita.s3125
    @febriangeliasaramita.s3125 3 года назад

    Thank You!

  • @ericli6027
    @ericli6027 4 года назад +1

    What about the panel data, can we still the White test in panel data? I read in some articles that the xttest3 is only suitable for large T small N samples, so I'm trying to figure out if we could apply the white test to a fixed effects model...

  • @PikachuIzLegit
    @PikachuIzLegit 3 года назад

    I have one question, when using regress command I added robust command afterwards. It means that I won't have heteroskedasticity because I cannot do hettest command?

    • @mikejonaseconometrics1886
      @mikejonaseconometrics1886  3 года назад +1

      Ah good question! Using the robust standard errors removes the impact of heteroskedasticity on the variance, SE and t-stat calculation, but it does not fix the underlying problem. So the assumption is that if you use "robust" you have het, but don't need to test for it because you have corrected for it.

  • @sebasluna6278
    @sebasluna6278 2 года назад

    This works for a Var?

  • @wolfgangi
    @wolfgangi 5 лет назад

    Can you explain intuitively what step 2 does? Like why do we have to get the u_hat^2 term and set it to the RHS of the equation?

    • @mikejonaseconometrics1886
      @mikejonaseconometrics1886  5 лет назад +5

      the uhat^2 variable is the estimated error variance for each observation. If the model is homoskedastic, this term should be constant. Therefore, if we can show that the RHS variables can predict changes in uhat^2, we conclude that the term is not constant across observations, and thus the model suffers from heteroskedasticity.

  • @imblaylin6772
    @imblaylin6772 3 года назад

    is there a shortest way to do the reg when using 4 x variables ? Ty so much

    • @mikejonaseconometrics1886
      @mikejonaseconometrics1886  3 года назад

      You can use Y-hat and Y-hat-squared as the independent variables in the test equation on squared residuals. This will contain the levels, squares and interactions of all 4 variables.

  • @MrChowhenry
    @MrChowhenry 5 лет назад +1

    how is the chi value interpreted?

    • @mikejonaseconometrics1886
      @mikejonaseconometrics1886  5 лет назад +4

      Hi Henry: the chi-square value is the test statistic calculated as the N*R2 from the test equation. The product N*R2 can be shown to follow a chi-square distribution, so the interpretations is that if the null was true (no het.), then R2 would be zero. A non-zero value can come either from random chance or because the null is not true. If the statistic is large enough such that it equals the 5% critical value, we can say that there is only a 5% chance of seeing this value if the null is true - or that we can reject the null with 95% confidence.

  • @crilaspezia
    @crilaspezia 3 года назад

    how do you create c.density?

    • @mikejonaseconometrics1886
      @mikejonaseconometrics1886  3 года назад +1

      The variable "density" is already defined in the data set. The notation "c.density" in the regression command tells Stata that the variable density is continuous (rather than binary or a factor variable) and allows it to be used in an interaction term. I hope that helps!

  • @jonasadu8667
    @jonasadu8667 3 года назад

    Name