Hi,
i have a group of series, say x, y and z.
Via the eviews buttons, i make a "group" of x, y and z, and go to "View/Graph/Distribution/Kernel Density" and select "Single Graph". As result, i have the kernel densities of x, y and z in one graph.
how can i create the same via programming?
i have tried with distplot, but this hasn't work...
Much thanks and kind regards,
Yohan
creating a kernel density graph of a group
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13312
- Joined: Tue Sep 16, 2008 5:38 pm
Re: creating a kernel density graph of a group
Do it via the menus, then use the Command Capture window to tell you the command equivalent.
Follow us on Twitter @IHSEViews
Re: creating a kernel density graph of a group
Thank you, but i haven't a command capture option. Probably because i use EViews 8 and this option is a new feature. Do you have another suggestion?
Many thanks!
Many thanks!
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13312
- Joined: Tue Sep 16, 2008 5:38 pm
Re: creating a kernel density graph of a group
Try this
Code: Select all
create prueba u 1000
for %j x y z
genr {%j}=@nrnd
next
group G
G.add x y z
'Kernel density graph of a group
G.distplot(s) kernel(k=e, ngrid=100)
Who is online
Users browsing this forum: No registered users and 19 guests