pl {pmr} | R Documentation |
The Luce Models
Description
The Luce Models for ranking data. The Luce models assumed that the rankings of the items are proportional to the item parameters.
Usage
pl(dset)
Arguments
dset |
a ranking dataset (aggregated) |
Details
Fit the Luce models for the dataset and return a mle object. Standard methods on mle (e.g., @coef, @vcov) apply. The Chi-square residual are given in the output.
Author(s)
Paul H. Lee and Philip L. H. Yu
References
Luce, R. D. (1959) Individual Choice Behavior. New York: Wiley.
See Also
Examples
## create an artificial dataset
X1 <- c(1,1,2,2,3,3)
X2 <- c(2,3,1,3,1,2)
X3 <- c(3,2,3,1,2,1)
n <- c(6,5,4,3,2,1)
test <- data.frame(X1,X2,X3,n)
## fit the Luce model
## pl(test)
[Package pmr version 1.2.5.1 Index]