Page 1 of 1

Saving numerical kernel density

Posted: Mon Jan 10, 2011 5:47 pm
by glu
Is there a possibility to save numerical results of a kernel density estimation in EViews 6 like in EViews 5 and earlier?

Saving numerical kernel density

Posted: Mon Jan 10, 2011 6:14 pm
by EViews Gareth
Proc->make distribution data

Re: Saving numerical kernel density

Posted: Mon Jan 10, 2011 7:10 pm
by glu
Thanks a lot!

Re: Saving numerical kernel density

Posted: Wed May 11, 2011 3:52 am
by mintyorbit
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.

Re: Saving numerical kernel density

Posted: Wed May 11, 2011 9:00 am
by EViews Gareth
Proc->make distribution data

Re: Saving numerical kernel density

Posted: Wed May 11, 2011 9:36 am
by EViews Glenn
To add to Gareth's comment, you'll need to do this for each layer.

Re: Saving numerical kernel density

Posted: Thu May 12, 2011 8:58 am
by mintyorbit
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.

Re: Saving numerical kernel density

Posted: Thu May 12, 2011 10:19 am
by EViews Glenn
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.