Create a mean vector

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

vincentg
Posts: 1
Joined: Fri Apr 19, 2013 4:43 am

Create a mean vector

Postby vincentg » Fri Apr 19, 2013 4:55 am

Hallo,

I have the following problem: I need to plot the mean(i) of each variable (Xi) against their respective stdev. In order to achive that, I would like to create two new series one containing the means of (Xi) and the other one with the respective stdev.

Can someone help me with that?

Your help is very much appreciated.

Best wishes.

vg

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

Re: Create a mean vector

Postby EViews Gareth » Fri Apr 19, 2013 7:50 am

Use the stom function to convert the series (or group of series) into a matrix, then use the @cmean function to calculate the means.


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests