Saving numerical kernel density

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

glu
Posts: 13
Joined: Mon May 03, 2010 8:23 am

Saving numerical kernel density

Postby glu » Mon Jan 10, 2011 5:47 pm

Is there a possibility to save numerical results of a kernel density estimation in EViews 6 like in EViews 5 and earlier?

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

Saving numerical kernel density

Postby EViews Gareth » Mon Jan 10, 2011 6:14 pm

Proc->make distribution data

glu
Posts: 13
Joined: Mon May 03, 2010 8:23 am

Re: Saving numerical kernel density

Postby glu » Mon Jan 10, 2011 7:10 pm

Thanks a lot!

mintyorbit
Posts: 3
Joined: Wed Jan 20, 2010 11:14 am

Re: Saving numerical kernel density

Postby mintyorbit » Wed May 11, 2011 3:52 am

Sorry to bring this thread up again after all this time, but I am wondering whether there is a way of finding the underlying data for two charts which are superimposed on one another. For example, I am currently trying to draw the kernel distribution for a set of data, and then draw the corresponding normal distribution on top of the kernel so that it is easy to compare them. I can do this easily in EViews by going to Graph -> Distribution -> Options and then adding the two distributions together. But once this is drawn in EViews, how can we extract the underlying data so that the graph can be drawn in Excel?

If anyone knows the answer to this I would be very grateful to them for any advice.

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

Re: Saving numerical kernel density

Postby EViews Gareth » Wed May 11, 2011 9:00 am

Proc->make distribution data

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

Re: Saving numerical kernel density

Postby EViews Glenn » Wed May 11, 2011 9:36 am

To add to Gareth's comment, you'll need to do this for each layer.

mintyorbit
Posts: 3
Joined: Wed Jan 20, 2010 11:14 am

Re: Saving numerical kernel density

Postby mintyorbit » Thu May 12, 2011 8:58 am

Thank you both for your replies. I had indeed tried this, as this is what you had recommended for the previous participant in this thread. The trouble is that when you do this separately for each series, the normal distribution is no longer calibrated to fit the emprical data.

If there is no way around this I shall simply do this by hand. Thank you again for your advice in this matter.

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

Re: Saving numerical kernel density

Postby EViews Glenn » Thu May 12, 2011 10:19 am

I guess that's right. Shouldn't be very hard. All you have to do is to take the evaluation points used in the kernel, standardize using the moments of the data, then run through the @dnorm.


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests