Testing if my errors are student t distributed

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

strypste
Posts: 53
Joined: Tue Jan 24, 2012 8:54 am

Testing if my errors are student t distributed

Postby strypste » Fri Sep 28, 2012 6:30 am

Hi

I estimated my model with Maximum Likelihood assuming a student t distribution. Now I would like to test if my errors are indeed t distributed. How can I test this in Eviews?

Steven

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

Re: Testing if my errors are student t distributed

Postby EViews Gareth » Fri Sep 28, 2012 7:06 am

Open up the residual series, click on View->Descriptive Statistics->Empirical distribution tests.

strypste
Posts: 53
Joined: Tue Jan 24, 2012 8:54 am

Re: Testing if my errors are student t distributed

Postby strypste » Fri Sep 28, 2012 7:22 am

Thanks for your reply.. However, the reason for my question is that the student t distribution is not in that list...

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

Re: Testing if my errors are student t distributed

Postby EViews Gareth » Fri Sep 28, 2012 8:25 am

Ah, yes. That's what I get for answering before breakfast. You can do a Quantile-Quantile plot against the t-distribution to get an eyeball of how close the distribution is.

strypste
Posts: 53
Joined: Tue Jan 24, 2012 8:54 am

Re: Testing if my errors are student t distributed

Postby strypste » Sun Sep 30, 2012 7:40 am

Thanks!

I managed to do it manually. However, if I want to include it in a program, then my command always plots the data against the normal distribution instead of the t distribution... This is my code:

growth.qqplot theory(dist=tdist)

where growth is the series with the data.

What am I doing wrong here?

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Testing if my errors are student t distributed

Postby EViews Glenn » Mon Oct 01, 2012 9:58 am

Looks like a bug. Let me check into it.

[edit: I've put a fix into the main code base. It should show up in the next update.]


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests