1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
4
<LANGUAGE>eng</LANGUAGE>
5
<TITLE>nanstdev</TITLE>
8
<SHORT_DESCRIPTION name="nanstdev"> standard deviation (ignoring the NANs). </SHORT_DESCRIPTION>
10
<CALLING_SEQUENCE_ITEM>s=nanstdev(x) </CALLING_SEQUENCE_ITEM>
11
<CALLING_SEQUENCE_ITEM>s=nanstdev(x,'r') or m=nanstdev(x,1) </CALLING_SEQUENCE_ITEM>
12
<CALLING_SEQUENCE_ITEM>s=nanstdev(x,'c') or m=nanstdev(x,2) </CALLING_SEQUENCE_ITEM>
17
<PARAM_NAME>x</PARAM_NAME>
19
<SP>real or complex vector or matrix</SP>
26
This function computes the standard deviation of the
27
values of a vector or matrix <VERB> x</VERB> (ignoring the
30
For a vector or a matrix <VERB> x</VERB>, <VERB> s=nanstdev(x)</VERB>
31
returns in the scalar <VERB> s</VERB> the standard deviation
32
of all the entries of <VERB>x</VERB> (ignoring the NANs).</P>
33
<P><VERB>s=nanstdev(x,'r')</VERB> (or, equivalently, <VERB>
34
s=nanstdev(x,1) </VERB>) is the rowwise standard deviation.
35
It returns in each entry of the row vector <VERB> s</VERB> the
36
standard deviation of each column of <VERB> x</VERB> (ignoring
38
<P><VERB>s=nanstdev(x,'c')</VERB> (or, equivalently,
39
<VERB>s=nanstdev(x,2)</VERB>) is the columnwise standard
40
deviation. It returns in each entry of the column vector
41
<VERB>s</VERB> the standard deviation of each row of <VERB>x</VERB>
42
(ignoring the NANs).</P>
44
In Labostat, NAN values stand for missing values in tables.</P>
49
x=[0.2113249 0.0002211 0.6653811;
50
0.7560439 %nan 0.6283918;
57
<AUTHOR> Carlos Klimann</AUTHOR>
60
Wonacott, T.H. & Wonacott, R.J.; Introductory Statistics, fifth edition, J.Wiley & Sons, 1990.</P>