Page 1 of 1

Standard deviation

Posted: Mon Jan 17, 2011 11:17 am
by facosta
Hello there.
I am sorry I am confused with something I think it´s simple but I just can´t do.
How can you get the standard deviation and variance for a particular column and row of a given matrix? Do you have to use the function @stdev(x[,s]) or something like that? It doesn´t work to me. I am confused now.
Thanks a lot for the support.
Regards.

Re: Standard deviation

Posted: Mon Jan 17, 2011 11:47 am
by EViews Gareth
The only way to do it is to extract that particular column into a vector, and then find the standard deviation of the vector:

Code: Select all

=@stdev(@columnextract(x,1))

Re: Standard deviation

Posted: Mon Jan 17, 2011 12:22 pm
by facosta
Ok. Thank you very much.