1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
4
<LANGUAGE>eng</LANGUAGE>
8
<SHORT_DESCRIPTION name="stdevf"> standard deviation</SHORT_DESCRIPTION>
10
<CALLING_SEQUENCE_ITEM>s=stdevf(x,fre) </CALLING_SEQUENCE_ITEM>
11
<CALLING_SEQUENCE_ITEM>s=stdevf(x,fre,'r') or s=stdevf(x,fre,1) </CALLING_SEQUENCE_ITEM>
12
<CALLING_SEQUENCE_ITEM>s=stdevf(x,fre,'c') or s=stdevf(x,fre,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>, each of them
28
counted with a frequency given by the corresponding
29
values of the integer vector or matrix <VERB> fre</VERB> who
30
has the same type of <VERB> x</VERB>.</P>
32
For a vector or matrix <VERB> x</VERB>, s=stdevf(x,fre) (or
33
<VERB> s=stdevf(x,fre,'*') </VERB> returns in scalar <VERB> s</VERB>
34
the standard deviation of all the entries of <VERB> x</VERB>,
35
each value counted with the multiplicity indicated by
36
the corresponding value of <VERB> fre</VERB>.</P>
37
<P><VERB>s=stdevf(x,fre,'r')</VERB> (or, equivalently, <VERB>
38
s=stdevf(x,fre,1)</VERB>) returns in each entry of the row
39
vector <VERB> s</VERB> of type 1xsize(x,'c') the standard
40
deviation of each column of <VERB> x</VERB>, each value counted
41
with the multiplicity indicated by the corresponding
42
value of <VERB> fre</VERB>.</P>
43
<P><VERB>s=stdevf(x,fre,'c')</VERB> (or, equivalently, <VERB>
44
s=stdevf(x,fre,2)</VERB>) returns in each entry of the
45
column vector <VERB> s</VERB> of type size(x,'c')x1 the
46
standard deviation of each row of <VERB> x</VERB>, each value
47
counted with the multiplicity indicated by the
48
corresponding value of <VERB> fre</VERB>.</P>
53
x=[0.2113249 0.0002211 0.6653811;0.7560439 0.9546254 0.6283918]
61
<AUTHOR> Carlos Klimann</AUTHOR>
64
Wonacott, T.H. & Wonacott, R.J.; Introductory Statistics, fifth edition, J.Wiley & Sons, 1990.</P>