how to estimate White's heteroscedasticity corrected t-value

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

neptunhiker
Posts: 50
Joined: Sat Oct 20, 2012 7:30 am

how to estimate White's heteroscedasticity corrected t-value

Postby neptunhiker » Mon Mar 11, 2013 12:03 pm

Hi everyone,

I am looking for a way to conduct a ols regression using White standard errors. I know how to use the interface option, but I would like to include it in a program.

Does anyone have an idea?

Thanks a lot in advance for help.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: how to estimate White's heteroscedasticity corrected t-v

Postby EViews Gareth » Mon Mar 11, 2013 2:06 pm

Estimate it via the interface, then click on View->Representations. One of the lines in the representations view gives you the command line form. You can then copy and paste it into your program, etc...

EViews Esther
EViews Developer
Posts: 149
Joined: Fri Sep 03, 2010 7:57 am

Re: how to estimate White's heteroscedasticity corrected t-v

Postby EViews Esther » Mon Mar 11, 2013 2:14 pm

As an example,

Code: Select all

equation e1.ls(cov=white) x1 x2
will generate an equation object which contains white heteroskedasticity-consistent standard errors.
Last edited by EViews Esther on Mon Mar 11, 2013 3:56 pm, edited 1 time in total.

neptunhiker
Posts: 50
Joined: Sat Oct 20, 2012 7:30 am

Re: how to estimate White's heteroscedasticity corrected t-v

Postby neptunhiker » Mon Mar 11, 2013 3:56 pm

yes, thank you very much, that worked. Great help!


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests