~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/eng/statistics/stdevf.xml

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
 
2
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
 
3
<MAN>
 
4
  <LANGUAGE>eng</LANGUAGE>
 
5
  <TITLE>stdevf</TITLE>
 
6
  <TYPE>  </TYPE>
 
7
  <DATE>July 2000</DATE>
 
8
  <SHORT_DESCRIPTION name="stdevf"> standard deviation</SHORT_DESCRIPTION>
 
9
  <CALLING_SEQUENCE>
 
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>
 
13
  </CALLING_SEQUENCE>
 
14
  <PARAM>
 
15
    <PARAM_INDENT>
 
16
      <PARAM_ITEM>
 
17
        <PARAM_NAME>x</PARAM_NAME>
 
18
        <PARAM_DESCRIPTION>
 
19
          <SP>real or complex vector or matrix</SP>
 
20
        </PARAM_DESCRIPTION>
 
21
      </PARAM_ITEM>
 
22
    </PARAM_INDENT>
 
23
  </PARAM>
 
24
  <DESCRIPTION>
 
25
    <P>
 
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>
 
31
    <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>
 
49
  </DESCRIPTION>
 
50
  <EXAMPLE>
 
51
<![CDATA[
 
52
 
 
53
x=[0.2113249 0.0002211 0.6653811;0.7560439 0.9546254 0.6283918]
 
54
fre=[1 2 3;3 4 3]
 
55
m=stdevf(x,fre)
 
56
m=stdevf(x,fre,'r')
 
57
m=stdevf(x,fre,'c')
 
58
 
 
59
 ]]>
 
60
  </EXAMPLE>
 
61
  <AUTHOR> Carlos Klimann</AUTHOR>
 
62
  <BIBLIO>
 
63
    <P>
 
64
    Wonacott, T.H. &amp; Wonacott, R.J.; Introductory Statistics, fifth edition, J.Wiley &amp; Sons, 1990.</P>
 
65
  </BIBLIO>
 
66
</MAN>