Description Usage Arguments Value Examples
View source: R/RandomUtilityModels.R
GMM Method for estimating Plackett-Luce model parameters
1 | Estimation.PL.GMM(Data.pairs, m, prior = 0, weighted = FALSE)
|
Data.pairs |
data broken up into pairs |
m |
number of alternatives |
prior |
magnitude of fake observations input into the model |
weighted |
if this is true, then the third column of Data.pairs is used as a weight for that data point |
Estimated mean parameters for distribution of underlying exponential
1 2 3 | data(Data.Test)
Data.Test.pairs <- Breaking(Data.Test, "full")
Estimation.PL.GMM(Data.Test.pairs, 5)
|
$m
[1] 5
$order
[1] 1 2 3 4 5
$Mean
[1] 0.1410598 0.1931714 0.2093974 0.2201898 0.2361816
$SD
[1] 0.1410598 0.1931714 0.2093974 0.2201898 0.2361816
$Time
user system elapsed
0.057 0.000 0.075
$Parameters
$Parameters[[1]]
$Parameters[[1]]$Mean
[1] 0.1410598
$Parameters[[2]]
$Parameters[[2]]$Mean
[1] 0.1931714
$Parameters[[3]]
$Parameters[[3]]$Mean
[1] 0.2093974
$Parameters[[4]]
$Parameters[[4]]$Mean
[1] 0.2201898
$Parameters[[5]]
$Parameters[[5]]$Mean
[1] 0.2361816
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.