comparison scripts/statistics/models/logistic_regression.m @ 9051:1bf0ce0930be

Grammar check TexInfo in all .m files Cleanup documentation sources to follow a few consistent rules. Spellcheck was NOT done. (but will be in another changeset)
author Rik <rdrider0-list@yahoo.com>
date Fri, 27 Mar 2009 22:31:03 -0700
parents 120f3135952f
children 16f53d29049f
comparison
equal deleted inserted replaced
9044:656ad518f385 9051:1bf0ce0930be
32 ## 32 ##
33 ## @noindent 33 ## @noindent
34 ## fits the model 34 ## fits the model
35 ## 35 ##
36 ## @example 36 ## @example
37 ## logit (gamma_i (x)) = theta_i - beta' * x, i = 1...k-1 37 ## logit (gamma_i (x)) = theta_i - beta' * x, i = 1 @dots{} k-1
38 ## @end example 38 ## @end example
39 ## 39 ##
40 ## The number of ordinal categories, @var{k}, is taken to be the number 40 ## The number of ordinal categories, @var{k}, is taken to be the number
41 ## of distinct values of @code{round (@var{y})}. If @var{k} equals 2, 41 ## of distinct values of @code{round (@var{y})}. If @var{k} equals 2,
42 ## @var{y} is binary and the model is ordinary logistic regression. The 42 ## @var{y} is binary and the model is ordinary logistic regression. The
46 ## fits the model with baseline logit odds only. 46 ## fits the model with baseline logit odds only.
47 ## 47 ##
48 ## The full form is 48 ## The full form is
49 ## 49 ##
50 ## @example 50 ## @example
51 ## @group
51 ## [theta, beta, dev, dl, d2l, gamma] 52 ## [theta, beta, dev, dl, d2l, gamma]
52 ## = logistic_regression (y, x, print, theta, beta) 53 ## = logistic_regression (y, x, print, theta, beta)
54 ## @end group
53 ## @end example 55 ## @end example
54 ## 56 ##
55 ## @noindent 57 ## @noindent
56 ## in which all output arguments and all input arguments except @var{y} 58 ## in which all output arguments and all input arguments except @var{y}
57 ## are optional. 59 ## are optional.