initDispersionParameter: Initialization of the dispersion parameter.

View source: R/optimization.R

initDispersionParameterR Documentation

Initialization of the dispersion parameter.

Description

Initialize the dispersion parameter.

Usage

initDispersionParameter(
  tree,
  trait,
  center,
  method.init.disp = c("Qn", "Sn", "MAD", "IQR"),
  method
)

Arguments

trait

named vector of traits at the tips.

center

the center parameter of the distribution

method.init.disp

the robust estimator method

method

the method used to fit the process. One of reml (the default), fixed.root or random.root. See Details.

Details

Constants are taken from Rousseeuw & Croux, 1993.

Value

The initial dispersion parameter.

References

Rousseeuw P.J., Croux C. 1993. Alternatives to the Median Absolute Deviation. Journal of the American Statistical Association. 88:1273–1283.


cauphy documentation built on Oct. 1, 2024, 5:08 p.m.