Column-wise MLE of the ordinal model without covariates {MLE} | R Documentation |
Column-wise MLE of the ordinal model without covariates
Description
Column-wise MLE of the ordinal model without covariates.
Usage
colordinal.mle(y, link = "logit")
Arguments
y |
A numerical matrix with values 1, 2, 3,..., not zeros, or a data.frame with ordered factors. |
link |
This can either be "logit" or "probit". It is the link function to be used. |
Details
Maximum likelihood of the ordinal model (proportional odds) is implemented. See for example the "polr" command in R or the examples.
Value
A list including:
param |
A matrix with the intercepts (threshold coefficients) of the model applied to each column (or variable). |
loglik |
The log-likelihood values. |
Author(s)
Michail Tsagris and Sofia Piperaki.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr and Sofia Piperaki sofiapip23@gmail.com.
References
Agresti, A. (2002) Categorical Data. Second edition. Wiley.
See Also
Examples
y <- matrix( rbinom(100 * 10, 2, 0.5) + 1, ncol = 10 )
res <- colordinal.mle(y, link = "probit")
[Package MLE version 1.0 Index]