(EViews10): Heteroskedasticity and Robust Standard Errors

Поделиться
HTML-код
  • Опубликовано: 30 июл 2024
  • ‪@CrunchEconometrix‬ This video explains how to correct heteroscedasticity with robust standard errors. Coined from the Greek word hetero (which means different or unequal), and skedastic (which means spread or scatter). So, homoskedasticity means equal spread, and heteroskedasticity, on the other hand, means unequal spread. The measure of spread is the variance, hence, heteroskedasticity deals with unequal variances. Heteroskedasticity or heteroscedasticity is the same. Only be consistent. Yes! The longest word in the econometrics dictionary with 18 words. One of the assumptions of ordinary least squares (OLS) is that the model must be homoskedastic. Needed to justify the usual t tests, F tests, and confidence intervals for OLS estimation of the linear regression model, even in large samples. In general, heteroskedasticity is more likely to occur in cross-sectional analysis. This does not imply that heteroskedasticity in time series models is impossible. What are the causes of heteroskedasticity? (1) Poor data sampling method may lead to heteroskedasticity particularly when collecting primary data. (2) Wrong data transformation. For instance, over-differencing a variable may lead to heteroskedasticity. (3) Wrong model specification. Related to the functional form: log-log, log-level, and level-level models. (4) The presence of outliers can lead to your model becoming heteroskedastic. Bogus figures that stands out. Very obvious to the prying eyes. (5) Skewness of one or more regressors (closely related to outliers being evident in the data). Consequences of heteroskedasticity: (1) OLS estimators, β ̂_OLS are still linear, unbiased and consistent. Hence the regression estimates remain unbiased and consistent. (2) But the estimators, β ̂_OLS are inefficient (that is, not having minimum variance) in the class of minimum variance estimators. (3) Therefore, OLS is no longer BLUE (Best Linear Unbiased Estimator). (4) Such that regression predictors (estimates) are also inefficient, though consistent. (5) Implies that the regression estimates cannot be used to construct confidence intervals, or used for inferences. (6) Affects the variances (and standard errors) of the estimated β ̂_S. (7) OLS method under-estimates the variances (and standard errors). (8) Yields low standard errors (9) Leads to higher than expected values of t and F statistics. (10) Yields statistically significant coefficients. (11) Rejection of the null hypothesis too often (12) Causes Type I error. (13) Both the t and the F statistics are no longer reliable any more for hypothesis testing. Some heteroskedasticity tests are: Breusch-Pagan LM Test; Glesjer LM Test; Harvey-Godfrey LM Test; Park LM Test; Goldfeld-Quandt Test; White’s Test; Engle’s ARCH Test; and Koenker-Basset Test. Heteroskedasticity can be resolved by: (1) Functional Forms; (2) Generalised (Weighted) Least Squares (GLS/WLS); and (3) White’s Robust-Standard Errors. How to detect heteroskedasticity? The truth is that there is no hard and fast rule for detecting heteroskedasticity. Therefore, more often than not, heteroskedasticity may be a case of educated guesswork, prior empirical experiences or mere speculation. However, informal and formal approaches can be used in detecting the presence of heteroskedasticity such as: Informal approach: Plotting the residuals from the regression against the estimated dependent variable
    Formal approach: Perform econometric tests. There are several tests of heteroskedasticity, each based on certain assumptions. The interested reader may want to consult the references listed at the end of the video.
    Link to A&H_hprice.xlsx data (free) and dofile (Subject to payment) cruncheconometrix.com.ng/shop/
    Note: You have to CART and CHECKOUT.
    References and Readings: Asteriou and Hall (2016) Applied Econometrics, 3ed; Wooldridge, J. M. (1995). Econometric Analysis of Cross Section and Panel Data. London, England: The MIT Press, Cambridge, Massachusetts; Baltagi, B.H. (1995) Econometric Analysis of Panel Data. New York, NY: John Wiley and Sons; Hsiao, C. (1986) Analysis of Panel Data, Econometric Society Monographs No. 11. Cambridge, United Kingdom: Cambridge University Press; Gujarati and Porter (2009) Basic Econometrics, International Edition; John, F. (1997) Applied Regression Analysis, Linear Models, and Related Methods, Sage Publications, California, p. 306; Mankiw, GN. (1990) “A Quick Refresher Course in Macroeconomics,” Journal of Economic Literature, Vol. XXVIII, p. 1648
    Follow up with soft-notes and updates from CrunchEconometrix:
    Playlists: / cruncheconometrix
    Website: cruncheconometrix.com.ng
    Blog: cruncheconometrix.blogspot.co...
    Facebook: / cruncheconometrix
    RUclips Custom URL: / cruncheconometrix
    Twitter: / crunchmetrix
    Reddit: / crunchmetrix

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

  • @CrunchEconometrix
    @CrunchEconometrix  4 года назад +8

    I want to appreciate all my subscribers from across the globe (Africa, Asia, Europe, the Middle East, The Americas, and The Pacific). Thank you all for your support. I am encouraged by your comments, questions, likes and critiques. They keep me focussed and poised to do better. I will continue to contribute my little quota such that every student and researcher will independently analyse his/her data. My teaching approach is very practical. I adopt a do-as-I-do style. Many thanks to those who have supported me by telling others. Once again, CrunchEconometrix loves to teach, support my Channel with your subscription, likes, feedbacks and sharing my videos with your cohorts. Please do not keep me to yourself (lol) inform your friends, students and academic networks about my Channel. Tell them CrunchEconometrix breaks down the econometric jargons and teaches with simplicity. Follow me on Facebook, Twitter and Reddit. Love you all, greatly!!! 

    • @Hshshsjjjskhsh
      @Hshshsjjjskhsh 4 года назад

      Is their anyway to email you I have question

    • @CrunchEconometrix
      @CrunchEconometrix  4 года назад

      @@Hshshsjjjskhsh Kindly state it here. Please may I know from where (location) you are reaching me?

    • @Hshshsjjjskhsh
      @Hshshsjjjskhsh 4 года назад

      @@CrunchEconometrix Hello I've tested for heteroskedasticity using the BP test and White. The BP test concludes there is no Heteroskedasticity while the white concludes there is. So I was confused to which one I should use. Moreover, when using robust standard errors to solve for heteroskedasticity it still remains within the regression. My model has natural log of the dependent variable so I was stuck on how I could remove heteroskedasticity.

    • @CrunchEconometrix
      @CrunchEconometrix  4 года назад

      @@Hshshsjjjskhsh You can decide between the BP or White test. I also showed other ways of correcting the problem.

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

      Inspired

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

    It's very useful. Thank you so much!

  • @nutler5782
    @nutler5782 Год назад +1

    Great video, thank you!

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

    Thanks a lot for simplifying issues that matters

    • @CrunchEconometrix
      @CrunchEconometrix  4 года назад

      U're welcome, Ngugi. Kindly share the link to my RUclips Channel with your friends and academic community. May God bless you as you do, amen 🙏

  • @evaggeliasiopi4746
    @evaggeliasiopi4746 4 года назад

    Hello and thank you for your amazing videos

    • @CrunchEconometrix
      @CrunchEconometrix  4 года назад

      U're welcome, Eva❤️. Please may I know from where (location) you are reaching me?

    • @evaggeliasiopi4746
      @evaggeliasiopi4746 4 года назад

      @@CrunchEconometrix Greece and I m a. Phd student.

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

    hi!! Your videos are very helpful!!! Can you also do a video on SVAR in Eviews along with the concept? Thank you.

    • @CrunchEconometrix
      @CrunchEconometrix  4 года назад

      Hi Suchitra, I'm humbled by the positive feedback. Deeply appreciated! But I'm yet to fully understand SVAR. Once I do, I'll make videos along that line. Please may I know from where (location) you are reaching me?

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

    Thank you. Great tutorial. Hope you can make tutorials using R.

    • @CrunchEconometrix
      @CrunchEconometrix  4 года назад

      .Thanks for the encouraging feedback, Dioscoro. Deeply appreciated! I'm just learning the R software and hope to have R-versions of my videos very soon :)

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

    your videos are so impressive dear professor ... love and respect from Nepal 🇳🇵🇳🇵 you are helping a lot

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

      Hi Tilak, I'm encouraged and humbled by your feedback. May God bless you. Please share the link to my RUclips Channel with your students and colleagues in Nepal... thanks!

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

    Hi, the regression i am working with is for a quadratic production function, meaning my regression has the independent variables and their squared values. When computing the log-log function, do i need to log my independent variable AND their squared variables to log? or only the original independent variables and leave the squared values as they are

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

      Hi Brian, include the log of both the explvars and the interaction term. Regards.

  • @5minuteFin
    @5minuteFin 2 года назад +1

    Hi there, Thank you so much for your lectures. I am working on a data set of stocks return which I have already converted into log returns in Excel then imported it in the Eviews. I am facing the problem of heteroskedasticity even after changing it the estimation option at Huber-white and then Breush pagan test which shows improved values but still heteroskedastic. I am confused with if I can use log log model or not because the data has already been transformed into log model. however if I use Harvey method my results seems to have homoskedacity. waiting for your reply. Thank you so much for the good work.

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

      Hi Meerain, you have your solution already. If the Harvey method solves the problem, go for it and put a note in your work why you used it.

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

    Thanks for the video. I have subscribed the channel. It is amazing...

    • @CrunchEconometrix
      @CrunchEconometrix  4 года назад

      Hi TA, thanks for the positive feedback and remarks on my RUclips videos. Deeply appreciated! I am very humbled by your subscription. Please may I know from where (location) you are reaching me?

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

      @@CrunchEconometrix hello, I am from Indonesia but studying in Australia. Your video about heteroscedasticity and robustness test was well explained and clearly understandable...

    • @CrunchEconometrix
      @CrunchEconometrix  4 года назад

      @@tan4620 Wow! You embody 2 amazing countries😍. Please spread the word about my RUclips Channel to your friends and academic networks in Indonesia 🇮🇩 and Australia 🇦🇺. They will find the content helpful too 😊. Much love from Nigeria 🇳🇬! 😀

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

      @@CrunchEconometrix hello Doctor, thank you very much. I will share your video with my friends requiring to learn statistical data analysis...😊👍👍

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

    Thank you so muchh💞💞

    • @CrunchEconometrix
      @CrunchEconometrix  4 года назад

      U're welcome, Demet. Glad to know you find the video helpful 😊. Please may I know from where (location) you are reaching me?

    • @demetgokmen2673
      @demetgokmen2673 4 года назад

      @@CrunchEconometrix
      Hi😀 im from Turkey. I am a graduate student. your video was very useful for me to investigate. 😊😊

  • @FernandoRomero-mq6jb
    @FernandoRomero-mq6jb 3 года назад +1

    Please, a query: I am analyzing a time series and I am applying natural logarithms, in one of the variables I have two data "zero" (0), there is no natural logarithm for zero, I ask, to save this problem, can I assign it to the data a number close to zero, example 0.001 (or similar)? Thanks.

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

      Hi Fernando, "zero"? I don't understand what you mean by this.

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

    Professor, why do we use Breusch-Pagan-Godfrey but not white test? I see that white test is more popular.
    which is more suitable for a time-series data with about 360 observations?
    Thank you.

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

      Hien, I showed various tests and their assumptions. You decide which one to use.

  • @user-nr5vw3vz1y
    @user-nr5vw3vz1y 25 дней назад +1

    Could you please make video for pannel data to address hetroscadity using white covariance methoad???

  • @khaledmustafa7341
    @khaledmustafa7341 4 года назад

    Good morning, Doctor
    In the event that the goal is as a model (ARDL) and the number of observations is 46, among which is extreme data, what is the solution in this case?

    • @CrunchEconometrix
      @CrunchEconometrix  4 года назад

      Hi Khaled, I don't quite understand your query. What is "extreme data"?

  • @ahmedtrabelsi3589
    @ahmedtrabelsi3589 4 года назад

    hi professor , i finaly understand my problem , i use ardl model , wen i just run him with 1000 observation i have problem of( normality , heteroskedasticity , autocorellation ) but when i use only 50 observations evry thig is good so the broblem is in the large number of observations . so can i use 1000 observations and ignore ( normality , heteroskedasticity , autocorellation ) and continue my work or it is false to do that ?

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

    how we get the data set in excel format, i need the data set sheet that is using in Astrio

    • @CrunchEconometrix
      @CrunchEconometrix  4 года назад

      This data is available on my website free of charge. Here's the link cruncheconometrix.com.ng/shop/

  • @viswanmg9509
    @viswanmg9509 3 года назад +2

    Thank you so much for the information. But One doubt mam, If there is still heteroscedasticity even after using Whites, what wii do?.Pls comment.

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

      Hi Viswan, you may then have to change your variables to closer proxies.

    • @viswanmg9509
      @viswanmg9509 2 года назад +2

      Thank You. I will Try

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

    When I estimate panel data using eviews10, only the residual heteroscedasticity test appears, not the options for choosing the type of heteroscedasticity test.

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

      Hi Raphael, so what is the issue?

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

      @@CrunchEconometrix
      Given the limitations of eviews I ended up using stata. Anyway, thanks for your videos about GMM, they helped me a lot.

  • @eriksh4871
    @eriksh4871 3 месяца назад

    Hi, when I add an ar(1) term to fix autocorrelation in the equation specification, it now doesnt let me change the covariance method to hubber white. I was wondering how I could fix this. Thanks

    • @CrunchEconometrix
      @CrunchEconometrix  2 месяца назад

      I never encountered such an issue so, may not be able to guide you properly. My apologies.

  • @tayechiazza6067
    @tayechiazza6067 4 года назад

    thankk you so much for your help , but i when i tap ln for dependent variable i had an error message (ln is not defined , so i used log , another error message(long for non positive numer) so what can i do please i also tried the white correction and the newey west , but the heteroscedasticity didn't remove :( any one can help me please , i'm using eveiws 11

    • @CrunchEconometrix
      @CrunchEconometrix  4 года назад

      Hi Tayechi, thanks for the positive feedback. Deeply appreciated! The correct approach is to use the "Genr" to generate the log versions. Is that what you did?

  • @wewinwiracorneliswahid6602
    @wewinwiracorneliswahid6602 2 года назад +1

    isnt the point to use robust methods is to ignore heteroscedasticity? and may i ask why aren't you using the m-estimates? mm-estimates?

    • @CrunchEconometrix
      @CrunchEconometrix  2 года назад +1

      Wewin, I'm sure that I made it clear in the clip that you use the option ROBUST to correct for het. Thanks.

  • @mehdifarouki330
    @mehdifarouki330 4 года назад

    hello mamade thanks for this amazing RUclips channel, please i have a question i am looking to explain the co2 emission by gdp and gdp squared i found that an increase of 1% in gdp increases the C02 by 4.96 and an increase of 1% gdp in square decreases C02 by 0.28.
    my question is the following how I can know the threshold from which my GDP begins to decrease and thank you in advance

    • @CrunchEconometrix
      @CrunchEconometrix  4 года назад

      Kindly consult similar studies for better understanding.

  • @farhanfarzam4278
    @farhanfarzam4278 7 месяцев назад +1

    Dear maam, could you pls elaborate how to check heteroskedasticity in panel data using eviews?

    • @CrunchEconometrix
      @CrunchEconometrix  7 месяцев назад

      Use the same approach described in this video.

  • @shreestyjhugroo3061
    @shreestyjhugroo3061 4 года назад

    Hello mam even if I'm using ardl for regression i need to conduct heteroskedasticity on ols?

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

      Hi Shreesty, yes and watch my ARDL videos. Please may I know from where (location) you are reaching me?

    • @shreestyjhugroo3061
      @shreestyjhugroo3061 4 года назад

      Im from mauritius mam. I need so help im having problem with my serial correlation what can you propose me😔

  • @bushrahashmi1532
    @bushrahashmi1532 3 года назад +2

    can u explain heteroscedasticity in panel data?

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

      Hi Bushra, my videos on heteroscedasticity applies to panel data analysis.

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

      @@CrunchEconometrix can u define heteroscedasticity in eviews 10 panel data

  • @arsll554
    @arsll554 4 месяца назад

    But the "Room" variable has p-value greater than 5%. How do you make it statistically significant?

    • @CrunchEconometrix
      @CrunchEconometrix  3 месяца назад

      p-value of 0.0929 makes it significant at the 10% level.

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

    How to check cluster robist standard errors in eviews

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

      Hi Gayani, "cluster" applies to panel data but the same procedure.

  • @user-nr5vw3vz1y
    @user-nr5vw3vz1y 7 дней назад +1

    Is there any difference for white methoad in pannel data ????

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

    Hi dear make a video on dumitrescu and hurlin heterogeneous causality on eviews by using 6 variables

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

    I cant find covariance selection option in my eviews

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

      Hi Gayani, what version are you using?

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

      @@CrunchEconometrix version 9. Where can I find cluster robust standard error? Thank you for the reply

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

      No idea. I use version 10. I'm sure you will find that information on EViews website.

  • @korman9872
    @korman9872 Год назад +1

    tx

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

    I use localprojections and have still got heteroscedasticity

    • @CrunchEconometrix
      @CrunchEconometrix  Год назад +1

      Hi Andazi, you can use any of the methods explained in my HETEROSCEDASTICY videos to correct it. Thanks.

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

      @@CrunchEconometrix I've logged my dependent variable and also used white standard error like in your video but after the fourth period of my Local Projections I get autocorrelated SE. I will try it with the option of "Robust Least Squares" method of Eviews, which is below the normal OLS

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

      Ok