| ordreg | R Documentation |
Ordinal regression models
ordreg(
formula,
data = parent.frame(),
offset,
family = stats::binomial("probit"),
start,
fast = FALSE,
...
)
formula |
formula |
data |
data.frame |
offset |
offset |
family |
family (default proportional odds) |
start |
optional starting values |
fast |
If TRUE standard errors etc. will not be calculated |
... |
Additional arguments to lower level functions |
Let Y\in\{1,...,J\} be the ordinal outcome and X a
vector of covariates. The cumulative link model is given by
P(Y\leq
j|X=x) = g(a_j - b^\top x), j=1,...,J-1.
The default link function is the
Probit function, i.e. where g is equal to the standard normal cumulative
distribution function. The proportional odds model is obtained with
family=binomial(logit).
Note, the intercept parameters are parametrized such that they are
monotone increasing a_1 < \cdots < a_{J-1}. To get the parameter
estimates of the actual a_j's use the summary method.
Klaus K. Holst
m <- lvm(y~x)
ordinal(m,K=3) <- ~y
d <- sim(m,100)
e <- ordreg(y~x,d)
summary(e)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.