Heteroscedasticity Tests in Stata

Sdílet
Vložit
  • čas přidán 27. 02. 2017
  • Overview of how to implement the White and Breusch-Pagan tests for heteroscedasticity in Stata.

Komentáře • 52

  • @atoafful4965
    @atoafful4965 Před 4 lety +2

    Best video so far! Simple and concise!

  • @Dr_Shiny
    @Dr_Shiny Před 5 lety +3

    Fantastic Video on "Heteroscedasticity". Thank you Sir.

  • @G7LF1
    @G7LF1 Před 3 lety +2

    Great video Sebastian! Explained in detail and easy to understand. Might i also add the estat hettest command, as a way to reject or not, the constant variance null hypothesis.

  • @nh6402
    @nh6402 Před 3 lety +1

    Thank you bro. You made this so easy. God bless

  • @debanjanabiswas111
    @debanjanabiswas111 Před 2 lety

    Please put the link of the previous video which you recommended in the description box.

  • @takshingwong2985
    @takshingwong2985 Před rokem

    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?

  • @adetpulvera8273
    @adetpulvera8273 Před 2 lety

    Hello kind sir. What browser should I search to make a stata?

  • @ayoubbouziti530
    @ayoubbouziti530 Před 5 lety +1

    thank you so much my friend

  • @sebasluna6278
    @sebasluna6278 Před 2 lety

    How can I run a heteroscedasticity test for a VAR model?

  • @salemgheit2293
    @salemgheit2293 Před 7 lety +2

    Many thanks for this video. I'm just wondering, can we just use the command ( hettest) after the original regression ( without typing "robust" at the end of it) to figure out the presence of heteroskedasticity?

    • @sebastianwaiecon
      @sebastianwaiecon  Před 7 lety

      I'm not personally familiar with that command.

    • @Yunghamz
      @Yunghamz Před 6 lety

      I think that uses the chi squared statistic where as the one in the video uses the F statistic.

  • @joshuabloodworth133
    @joshuabloodworth133 Před 3 lety

    Hi, thank you for this helpful video! When I followed the first two test, the p-value for my f statistic was significant for heteroskedasticity (P= 0.0591; P=0.0024). However, when I ran the 3rd test in the video, my p values were no longer significant (p=0.2514). Not sure what this means. Should I follow you're correction to the heteroskedasticity video anyway or is there something more fundamentally wrong with my model?

    • @sebastianwaiecon
      @sebastianwaiecon  Před 3 lety

      I am surprised your fully specified White test would have such a high p-value compared to the others. It's possible you made a mistake with the test, but I'm not sure. There could be other problems with your model, but these tests don't provide any information on that. In practice, most economists just use White's robust standard errors on all regressions.

  • @dcedervall
    @dcedervall Před 3 lety +1

    Thanks for the video! I have a question. Will using the robust regression (rreg) account for robust standard errors?

  • @rifatraby1621
    @rifatraby1621 Před 5 lety

    could you please do the gold-field quandt test aslo

  • @JJ-hq1eu
    @JJ-hq1eu Před 2 lety

    thank you so much!

  • @kefyalewtadesse2780
    @kefyalewtadesse2780 Před 5 lety

    if my panel data fails to pass the normality,homoskedasticity and serial correlation tests,then what shall I do to correct it?

    • @sebastianwaiecon
      @sebastianwaiecon  Před 5 lety +1

      You need to use heteroscedasticity robust standard errors (I have a video on this) and should consider first-differences (shown in my fixed effects video).

  • @ianyohane8182
    @ianyohane8182 Před 4 lety

    many thanks

  • @shot040
    @shot040 Před 6 lety

    Why do you regress log variable instead of just the normal form of it?

    • @sebastianwaiecon
      @sebastianwaiecon  Před 6 lety +1

      This gives us a nonlinear interpretation, such that we're looking at proportional changes, rather than level changes. It's doesn't really have anything to do with heteroscedasticity.

  • @ulugbekkodirov1788
    @ulugbekkodirov1788 Před 3 lety

    What if there are more than two variables for example 5? How to use 2nd
    method of White'stest which is original way of solving?

    • @sebastianwaiecon
      @sebastianwaiecon  Před 3 lety

      You need to add terms for all combinations of variables. For example, if you had three variables: a, b, and c, then you need: a^2, b^2, c^2, ab, ac, and bc.

    • @ulugbekkodirov1788
      @ulugbekkodirov1788 Před 3 lety

      @@sebastianwaiecon Thank you so much. I got it. Could you please send me your gmail or email address which you use frequently? I have got many questions to ask you about Stata. I really need help. Thanks in advance

  • @sharanbindroo8694
    @sharanbindroo8694 Před 3 lety

    Great Video. Can you please share the data-set used?

    • @sebastianwaiecon
      @sebastianwaiecon  Před 3 lety

      It is WAGE1.dta, which comes with the Wooldridge econometrics textbook. You can find it online fairly easily.

  • @salemgheit2293
    @salemgheit2293 Před 7 lety +1

    After regressing e2 on yhat and yhat2 , I obtained this
    F(2, 1327) = 0.43
    Prob>F = 0.6534
    Does this mean that I don't have a heteroskedasticity problem in my model?

    • @sebastianwaiecon
      @sebastianwaiecon  Před 7 lety

      I would still try the B-P test, but yes, it looks like you don't have to worry about heteroscedasticity here.

  • @chokh8850
    @chokh8850 Před 4 lety +1

    thx bud

  • @ahlemouhibi3582
    @ahlemouhibi3582 Před 5 lety +2

    when i use BP test of heteroskedasticity and i find that p-value =0.000 so there is not a heteroskedasticity so we don't need to do the white test?? that's it?

    • @sebastianwaiecon
      @sebastianwaiecon  Před 5 lety +1

      It's the other way around. Low p-value is evidence that there is heteroscedasticity. At this point, you could also do the White test if you wanted.

    • @ahlemouhibi3582
      @ahlemouhibi3582 Před 5 lety

      @@sebastianwaiecon when i use Breusch Pagan i get p-value =0.000 than when i use white test i get p-value =0.0002 what should i do??

    • @ahlemouhibi3582
      @ahlemouhibi3582 Před 5 lety

      ????!!???

    • @sebastianwaiecon
      @sebastianwaiecon  Před 5 lety +1

      This shows you have heteroscedasticity and need to use robust standard errors.

    • @ahlemouhibi3582
      @ahlemouhibi3582 Před 4 lety

      @@sebastianwaiecon how?? can u help me

  • @jesstresajoseph5536
    @jesstresajoseph5536 Před 2 měsíci

    When will we conclude there is heteroscedaticity? When p is above or below what value?

    • @lionelmeshi7321
      @lionelmeshi7321 Před 2 měsíci

      if p is less than 0.05 then heteroskedasticity else homoskedasticity

  • @rifatraby1621
    @rifatraby1621 Před 5 lety

    please do park test using stata

    • @sebastianwaiecon
      @sebastianwaiecon  Před 5 lety +1

      While I have no immediate plans to expand this series, I'll consider that. Thanks for the suggestion.

  • @Mqxwell
    @Mqxwell Před 3 lety +1

    I just wish there was a way to do the real white test easily...I have 6 predictors and generating 21 new variables sounds like a pain in the ass

    • @sebastianwaiecon
      @sebastianwaiecon  Před 3 lety +1

      You might want to look into custom packages for the White test, in that case.

    • @Mqxwell
      @Mqxwell Před 3 lety

      @@sebastianwaiecon I think I'm just gonna stick to Breusch-Pagan and check a plot of my residuals! I tried a few custom packages, but they were wack.
      Thanks tho

  • @Dr_Shiny
    @Dr_Shiny Před 5 lety

    Sir, I need a suggestion.
    My 1st White's test -----------------------> Prob > F = 0.0704 , F(7, 648) = 1.88)
    2nd White's test ------------------------------> Prob > F = 0.1626 , F(2, 653) = 1.82
    Should I accept that there is "Heteroscedasticity" ??? or not?
    Please guide me.

  • @tiastez
    @tiastez Před 2 lety

    heteroskediddly