Fitting Distributions

For econometric discussions not necessarily related to EViews.

Moderators: EViews Gareth, EViews Moderator

proberts
Posts: 2
Joined: Mon Sep 28, 2015 9:03 am

Fitting Distributions

Postby proberts » Mon Sep 28, 2015 9:13 am

Given a series of data, is there a simple way to fit a probability distribution in eviews? The descriptive statistics provide data on normality etc but is eviews able to indicate which distribution might best fit a series? In my case, I have a series with a large N that is close to normal but skewed and peaked. Thanks in advance.

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: Fitting Distributions

Postby startz » Mon Sep 28, 2015 9:44 am

Last edited by startz on Mon Sep 28, 2015 9:52 am, edited 1 time in total.

proberts
Posts: 2
Joined: Mon Sep 28, 2015 9:03 am

Re: Fitting Distributions

Postby proberts » Mon Sep 28, 2015 9:51 am

You can get part of what you want from distribution plots.
http://www.eviews.com/help/helpintro.ht ... 3ww242909
It appears that this command only creates the standard histogram for the series otherwise I have to specify the distribution. Does eviews provide any suggestions for the probability distribution that is the best fit?

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: Fitting Distributions

Postby startz » Mon Sep 28, 2015 9:52 am

I don't think so.

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: Fitting Distributions

Postby startz » Tue Sep 29, 2015 8:52 am

Come to think of it, there is one more thing you might do. You can use View/Descriptive Statistics and tests/Empirical Distribution Tests to see if one of the available distributions is a good fit.

NicolasR
Posts: 90
Joined: Mon Nov 04, 2013 6:22 pm
Location: Here

Re: Fitting Distributions

Postby NicolasR » Tue Sep 29, 2015 5:37 pm

Or you can estimate the parameters of a distribution by ML and compare the information criteria with other estimations, in case that you do not find the distribution you want in the option that startz suggests.

Code: Select all

wfcreate u 1 1000 genr z=nrnd*2+5 logl normal normal.append @logl logl1 normal.append res=z-c(1) normal.append var=c(2) normal.append logl1=@log((1/(var*@sqrt(2*@acos(-1))))*@exp((-1/2)*(res/var)^2)) normal.append @temp res var logl1 normal.append @param c(1) 1 c(2) 1 c(3) 1 normal.ml


Return to “Econometric Discussions”

Who is online

Users browsing this forum: No registered users and 2 guests