Export statistics

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

HX7
Posts: 7
Joined: Fri Jul 10, 2009 5:38 am

Export statistics

Postby HX7 » Fri Jul 10, 2009 5:48 am

Hey, I have tried to write a program for finding and exporting the means and standard deviation for different samples in a series and fill the result into a matrix in the current workfile.
I have used the command: "stats.series_name" and I do indeed find the mean and the standard deviation, but I have to copy paste it each time and thats really timeconsuming. Is it any command which could for example copy the mean and st.dev of a sample in a series into an excel file (or even better copy it over to a matrix in the current workfile)?

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

Re: Export statistics

Postby EViews Gareth » Fri Jul 10, 2009 7:18 am

Code: Select all

matrix(3,2) stats stats(1,1) = @max(x) stats(1,2) = @stdev(x)

HX7
Posts: 7
Joined: Fri Jul 10, 2009 5:38 am

Re: Export statistics

Postby HX7 » Mon Jul 13, 2009 12:16 am

That was excatly what I was looking for, thanks a lot.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests