Page 1 of 1

Export statistics

Posted: Fri Jul 10, 2009 5:48 am
by HX7
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)?

Re: Export statistics

Posted: Fri Jul 10, 2009 7:18 am
by EViews Gareth

Code: Select all

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

Re: Export statistics

Posted: Mon Jul 13, 2009 12:16 am
by HX7
That was excatly what I was looking for, thanks a lot.