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

« back to all changes in this revision

Viewing changes to man/eng/statistics/regress.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>regress</TITLE>
 
6
  <TYPE>  </TYPE>
 
7
  <DATE>February 2001</DATE>
 
8
  <SHORT_DESCRIPTION name="regress"> regression coefficients of two variables</SHORT_DESCRIPTION>
 
9
  <CALLING_SEQUENCE>
 
10
    <CALLING_SEQUENCE_ITEM>coefs=regress(x,y)  </CALLING_SEQUENCE_ITEM>
 
11
  </CALLING_SEQUENCE>
 
12
  <PARAM>
 
13
    <PARAM_INDENT>
 
14
      <PARAM_ITEM>
 
15
        <PARAM_NAME>x,y</PARAM_NAME>
 
16
        <PARAM_DESCRIPTION>
 
17
          <SP>: real or complex vector</SP>
 
18
        </PARAM_DESCRIPTION>
 
19
      </PARAM_ITEM>
 
20
    </PARAM_INDENT>
 
21
  </PARAM>
 
22
  <DESCRIPTION>
 
23
    <P>
 
24
    This function  computes the regresion  coefficients of two
 
25
    variables <VERB>x</VERB>  and <VERB>y</VERB>, both  numerical vectors of
 
26
    same number  of elements  <VERB>n</VERB>. <VERB>coefs=[a b]</VERB>  be a
 
27
    1x2 matrix such that  <VERB>Y=a+bX</VERB> will be the equation of
 
28
    the ordinary least square approximation to our data.</P>
 
29
  </DESCRIPTION>
 
30
  <SECTION label="References">
 
31
    <P>
 
32
    Wonacott, T.H. &amp; Wonacott, R.J.; Introductory Statistics, J.Wiley &amp; Sons, 1990.</P>
 
33
  </SECTION>
 
34
  <EXAMPLE>
 
35
<![CDATA[
 
36
x=[0.5608486 0.6623569 0.7263507 0.1985144 0.5442573 0.2320748 0.2312237]
 
37
y=[0.3616361 0.2922267 0.5664249 0.4826472 0.3321719 0.5935095 0.5015342]
 
38
coefs=regress(x,y)
 
39
 ]]>
 
40
  </EXAMPLE>
 
41
  <SEE_ALSO>
 
42
    <SEE_ALSO_ITEM>
 
43
      <LINK>covar</LINK>
 
44
    </SEE_ALSO_ITEM>
 
45
  </SEE_ALSO>
 
46
  <AUTHOR> Carlos Klimann</AUTHOR>
 
47
</MAN>