upsilon.ml: Estimate upsilon of the Conway-Maxwell-Poisson Distribution

View source: R/cmp.r

upsilon.mlR Documentation

Estimate upsilon of the Conway-Maxwell-Poisson Distribution

Description

Given the estimated rate (lambda) or mean (mu) vector, estimate dispersion paramter (uspilon) of the Conway-Maxwell-Poisson Distribution.

Usage

upsilon.ml(
  x,
  parameters,
  param_type = "lambda",
  method = "sum",
  weights = NULL,
  lower = 0.7,
  upper = 4
)

Arguments

x

vector of non-negative integers.

parameters

vector of non-negative rate parameters (lambda) or mean paramters (mu).

param_type

string indicating whether the vector given to the parameters argument is lambda (default) or mu.

method

character; either 'fast' or 'sum'. Passed on to the lambdaCMP function if param_type = 'mu'.

weights

Numeric vector of weigths that determine the influence of each data point on the final parameter estimate.

lower

the lower bound for upsilon

upper

the upper bound for upsilon

See Also

CMP for more functions and details regarding the Conway-Maxwell-Poisson Distribution.


opisthokonta/goalmodel documentation built on April 3, 2024, 1:32 a.m.