Mercurial > hg > octave-lyh
comparison scripts/statistics/base/gls.m @ 8517:81d6ab3ac93c
Allow documentation tobe built for other formats than tex and info
author | sh@sh-laptop |
---|---|
date | Wed, 14 Jan 2009 20:44:25 -0500 |
parents | a1dbe9d80eee |
children | eb63fbe60fab |
comparison
equal
deleted
inserted
replaced
8516:e2a179415bac | 8517:81d6ab3ac93c |
---|---|
24 ## @tex | 24 ## @tex |
25 ## $y = x b + e$ | 25 ## $y = x b + e$ |
26 ## with $\bar{e} = 0$ and cov(vec($e$)) = $(s^2)o$, | 26 ## with $\bar{e} = 0$ and cov(vec($e$)) = $(s^2)o$, |
27 ## @end tex | 27 ## @end tex |
28 ## @end iftex | 28 ## @end iftex |
29 ## @ifinfo | 29 ## @ifnottex |
30 ## @math{y = x b + e} with @math{mean (e) = 0} and | 30 ## @math{y = x b + e} with @math{mean (e) = 0} and |
31 ## @math{cov (vec (e)) = (s^2) o}, | 31 ## @math{cov (vec (e)) = (s^2) o}, |
32 ## @end ifinfo | 32 ## @end ifnottex |
33 ## where | 33 ## where |
34 ## @iftex | 34 ## @iftex |
35 ## @tex | 35 ## @tex |
36 ## $y$ is a $t \times p$ matrix, $x$ is a $t \times k$ matrix, $b$ is a $k | 36 ## $y$ is a $t \times p$ matrix, $x$ is a $t \times k$ matrix, $b$ is a $k |
37 ## \times p$ matrix, $e$ is a $t \times p$ matrix, and $o$ is a $tp \times | 37 ## \times p$ matrix, $e$ is a $t \times p$ matrix, and $o$ is a $tp \times |
38 ## tp$ matrix. | 38 ## tp$ matrix. |
39 ## @end tex | 39 ## @end tex |
40 ## @end iftex | 40 ## @end iftex |
41 ## @ifinfo | 41 ## @ifnottex |
42 ## @math{y} is a @math{t} by @math{p} matrix, @math{x} is a @math{t} by | 42 ## @math{y} is a @math{t} by @math{p} matrix, @math{x} is a @math{t} by |
43 ## @math{k} matrix, @math{b} is a @math{k} by @math{p} matrix, @math{e} | 43 ## @math{k} matrix, @math{b} is a @math{k} by @math{p} matrix, @math{e} |
44 ## is a @math{t} by @math{p} matrix, and @math{o} is a @math{t p} by | 44 ## is a @math{t} by @math{p} matrix, and @math{o} is a @math{t p} by |
45 ## @math{t p} matrix. | 45 ## @math{t p} matrix. |
46 ## @end ifinfo | 46 ## @end ifnottex |
47 ## | 47 ## |
48 ## @noindent | 48 ## @noindent |
49 ## Each row of @var{y} and @var{x} is an observation and each column a | 49 ## Each row of @var{y} and @var{x} is an observation and each column a |
50 ## variable. The return values @var{beta}, @var{v}, and @var{r} are | 50 ## variable. The return values @var{beta}, @var{v}, and @var{r} are |
51 ## defined as follows. | 51 ## defined as follows. |