Heteroscedasticity Tests in Stata

Поділитися
Вставка
  • Опубліковано 27 лют 2017
  • Overview of how to implement the White and Breusch-Pagan tests for heteroscedasticity in Stata.

КОМЕНТАРІ • 52

  • @atoafful4965
    @atoafful4965 4 роки тому +2

    Best video so far! Simple and concise!

  • @Dr_Shiny
    @Dr_Shiny 4 роки тому +3

    Fantastic Video on "Heteroscedasticity". Thank you Sir.

  • @G7LF1
    @G7LF1 3 роки тому +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 3 роки тому +1

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

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

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

  • @ayoubbouziti530
    @ayoubbouziti530 5 років тому +1

    thank you so much my friend

  • @dcedervall
    @dcedervall 3 роки тому +1

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

  • @salemgheit2293
    @salemgheit2293 7 років тому +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  7 років тому

      I'm not personally familiar with that command.

    • @Yunghamz
      @Yunghamz 6 років тому

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

  • @joshuabloodworth133
    @joshuabloodworth133 3 роки тому

    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  3 роки тому

      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.

  • @rifatraby1621
    @rifatraby1621 5 років тому

    could you please do the gold-field quandt test aslo

  • @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?

  • @JJ-hq1eu
    @JJ-hq1eu 2 роки тому

    thank you so much!

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

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

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

    many thanks

  • @kefyalewtadesse2780
    @kefyalewtadesse2780 5 років тому

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

    • @sebastianwaiecon
      @sebastianwaiecon  5 років тому +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).

  • @sharanbindroo8694
    @sharanbindroo8694 3 роки тому

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

    • @sebastianwaiecon
      @sebastianwaiecon  3 роки тому

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

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

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

  • @shot040
    @shot040 6 років тому

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

    • @sebastianwaiecon
      @sebastianwaiecon  6 років тому +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 3 роки тому

    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  3 роки тому

      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 3 роки тому

      @@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

  • @chokh8850
    @chokh8850 4 роки тому +1

    thx bud

  • @salemgheit2293
    @salemgheit2293 7 років тому +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  7 років тому

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

  • @jesstresajoseph5536
    @jesstresajoseph5536 Місяць тому

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

    • @lionelmeshi7321
      @lionelmeshi7321 Місяць тому

      if p is less than 0.05 then heteroskedasticity else homoskedasticity

  • @ahlemouhibi3582
    @ahlemouhibi3582 4 роки тому +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  4 роки тому +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 4 роки тому

      @@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 4 роки тому

      ????!!???

    • @sebastianwaiecon
      @sebastianwaiecon  4 роки тому +1

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

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

      @@sebastianwaiecon how?? can u help me

  • @rifatraby1621
    @rifatraby1621 5 років тому

    please do park test using stata

    • @sebastianwaiecon
      @sebastianwaiecon  5 років тому +1

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

  • @Mqxwell
    @Mqxwell 3 роки тому +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  3 роки тому +1

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

    • @Mqxwell
      @Mqxwell 3 роки тому

      @@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 4 роки тому

    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.

    • @sebastianwaiecon
      @sebastianwaiecon  4 роки тому +1

      What do you mean by first and second White test?

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

    heteroskediddly