Kernel density data from a vector

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

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

DBW
Posts: 9
Joined: Wed Jul 24, 2019 3:37 am

Kernel density data from a vector

Postby DBW » Wed Jul 29, 2020 9:07 am

Hi there,

I'm trying to do something that I think should be relatively simple, but can't work out how to do it. Very grateful for any help.

I have a long vector of data, which I'm trying to transform into a kernel density distribution. I can plot a kernel density chart without any problem, but can't seem to extract the underlying data to recreate that chart.

The vector is longer than the number of observations I have in the workfile, so converting the vector into a timeseries and then extracting the distribution doesn't seem to be an option.

Any thoughts?

Thanks.

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

Re: Kernel density data from a vector

Postby EViews Gareth » Wed Jul 29, 2020 9:08 am

Create a new page the size of the vector, copy the vector over, convert to a series, then extract the data.
Follow us on Twitter @IHSEViews

DBW
Posts: 9
Joined: Wed Jul 24, 2019 3:37 am

Re: Kernel density data from a vector

Postby DBW » Wed Jul 29, 2020 9:24 am

Thanks, Gareth.

I'll give that a go. Really appreciate the speedy response.


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 15 guests