MomentsEst: Find Initial Values of phi

Description Usage Arguments Value Examples

View source: R/rankdist.R

Description

MomentsEst finds the initial values of phi which can be used in the subsequent optimization problems. Linear model is fitted to the log odds of rankings.This function is only useful to the Weighted Kendall model.

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 phi

Examples

1

rankdist documentation built on July 28, 2019, 1:02 a.m.