Description Usage Arguments Value Author(s) References See Also Examples
ordglm
fits linear regression functions with logistic or probit link
to ordinal response data by proportional odds.
1 2 | ordglm(formula, data = parent.frame(), link = "logit", maxiter = 10,
weights = 1)
|
formula |
A model formula. The response must be integers numbered from zero to one less than the number of ordered categories. |
data |
An optional data frame containing the variables in the model. |
link |
Logit or probit link function. |
maxiter |
Maximum number of iterations allowed. |
weights |
A vector containing the frequencies for grouped data. |
A list of class ordglm is returned. The printed output includes the -log likelihood, the corresponding AIC, the deviance, the maximum likelihood estimates, standard errors, and correlations.
J.K. Lindsey, adapted and heavily modified from Matlab code (ordinalMLE) by J.H. Albert.
Jansen, J. (1991) Fitting regression models to ordinal data. Biometrical Journal 33, 807-815.
Johnson, V.E. and Albert, J.H. (1999) Ordinal Data Modeling. Springer-Verlag.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.