MomentsEst {rankdist} | R Documentation |
Find Initial Values of phi
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
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
MomentsEst(apa_obj,40)
[Package rankdist version 1.1.4 Index]