MomentsEst: Find Initial Values of param

Description Usage Arguments Value Examples

View source: R/rankdistext.R

Description

MomentEst finds the initial values of param which can be used in the subsequent optimization problems. Linear model is fitted to the log odds of rankings.

Usage

1
MomentsEst(dat, size, pi0 = NULL)

Arguments

dat

a RankData object

size

the number of samples to take in the linear model

pi0

an optional argument showing the location of central ranking. If not provided, Borda Count method is used to estimate the central ranking.

Value

estimated param

Examples

1

simonfqy/rankdistext documentation built on May 26, 2017, 7:04 a.m.