Estimation.PL.GMM: GMM Method for estimating Plackett-Luce model parameters

Description Usage Arguments Value Examples

View source: R/RandomUtilityModels.R

Description

GMM Method for estimating Plackett-Luce model parameters

Usage

1
Estimation.PL.GMM(Data.pairs, m, prior = 0, weighted = FALSE)

Arguments

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

Value

Estimated mean parameters for distribution of underlying exponential

Examples

1
2
3
data(Data.Test)
Data.Test.pairs <- Breaking(Data.Test, "full")
Estimation.PL.GMM(Data.Test.pairs, 5)

Example output

$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

StatRank documentation built on May 1, 2019, 8:22 p.m.