Learn R Programming

StatRank (version 0.0.6)

Estimation.Normal.GMM: GMM Method for Estimating Random Utility Model wih Normal dsitributions

Description

GMM Method for Estimating Random Utility Model wih Normal dsitributions

Usage

Estimation.Normal.GMM(Data.pairs, m, iter = 1000, Var = FALSE, prior = 0)

Arguments

Data.pairs
data broken up into pairs
m
number of alternatives
iter
number of iterations to run
Var
indicator for difference variance (default is FALSE)
prior
magnitude of fake observations input into the model

Value

Estimated mean parameters for distribution of underlying normal (variance is fixed at 1)

Examples

Run this code
data(Data.Test)
Data.Test.pairs <- Breaking(Data.Test, "full")
Estimation.Normal.GMM(Data.Test.pairs, 5)

Run the code above in your browser using DataLab