Heteroscedasticity Tests in Stata

Overview of how to implement the White and Breusch-Pagan tests for heteroscedasticity in Stata.

Пікірлер: 52

  • @atoafful4965
    @atoafful49654 жыл бұрын

    Best video so far! Simple and concise!

  • @G7LF1
    @G7LF13 жыл бұрын

    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.

  • @Dr_Shiny
    @Dr_Shiny5 жыл бұрын

    Fantastic Video on "Heteroscedasticity". Thank you Sir.

  • @nh6402
    @nh64023 жыл бұрын

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

  • @ayoubbouziti530
    @ayoubbouziti5305 жыл бұрын

    thank you so much my friend

  • @debanjanabiswas111
    @debanjanabiswas1112 жыл бұрын

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

  • @JJ-hq1eu
    @JJ-hq1eu2 жыл бұрын

    thank you so much!

  • @ianyohane8182
    @ianyohane81824 жыл бұрын

    many thanks

  • @salemgheit2293
    @salemgheit22937 жыл бұрын

    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.

  • @rifatraby1621
    @rifatraby16215 жыл бұрын

    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?

  • @dcedervall
    @dcedervall3 жыл бұрын

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

  • @sebastianwaiecon

    @sebastianwaiecon

    3 жыл бұрын

    See my video on robust standard errors.

  • @adetpulvera8273
    @adetpulvera82732 жыл бұрын

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

  • @sebasluna6278
    @sebasluna62782 жыл бұрын

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

  • @joshuabloodworth133
    @joshuabloodworth1333 жыл бұрын

    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.

  • @kefyalewtadesse2780
    @kefyalewtadesse27805 жыл бұрын

    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 жыл бұрын

    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).

  • @chokh8850
    @chokh88504 жыл бұрын

    thx bud

  • @shot040
    @shot0406 жыл бұрын

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

  • @sebastianwaiecon

    @sebastianwaiecon

    6 жыл бұрын

    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
    @ulugbekkodirov17883 жыл бұрын

    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

  • @salemgheit2293
    @salemgheit22937 жыл бұрын

    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.

  • @sharanbindroo8694
    @sharanbindroo86943 жыл бұрын

    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.

  • @jesstresajoseph5536
    @jesstresajoseph55362 ай бұрын

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

  • @lionelmeshi7321

    @lionelmeshi7321

    2 ай бұрын

    if p is less than 0.05 then heteroskedasticity else homoskedasticity

  • @Mqxwell
    @Mqxwell3 жыл бұрын

    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 жыл бұрын

    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

  • @ahlemouhibi3582
    @ahlemouhibi35825 жыл бұрын

    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

    5 жыл бұрын

    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

    5 жыл бұрын

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

    5 жыл бұрын

    ????!!???

  • @sebastianwaiecon

    @sebastianwaiecon

    5 жыл бұрын

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

  • @ahlemouhibi3582

    @ahlemouhibi3582

    4 жыл бұрын

    @@sebastianwaiecon how?? can u help me

  • @rifatraby1621
    @rifatraby16215 жыл бұрын

    please do park test using stata

  • @sebastianwaiecon

    @sebastianwaiecon

    5 жыл бұрын

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

  • @Dr_Shiny
    @Dr_Shiny5 жыл бұрын

    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

    5 жыл бұрын

    What do you mean by first and second White test?

  • @tiastez
    @tiastez2 жыл бұрын

    heteroskediddly