wt.rel.negbin: Weighted relative likelihood function based on Negative...

Description Usage Arguments Details Value Note Author(s) References Examples

Description

This function constructs wt. rel. likld.function based on neg bin distribution. It provides plot, area under curve, mle, and values of wt. rel. function

Usage

1
wt.rel.negbin(x, mu.min, mu.max, plot = FALSE, len = 100)

Arguments

x

vector or list of observations

mu.min

Minimum value of mu for the relative likelihood function.

mu.max

Minimum value of mu for the relative likelihood function.

plot

If TRUE provides a plot of weighted relative likelihood functions

len

Length of values to be evaluated at in between mu.min and mu.max

Details

For mathematical details, please contact the authors.

Value

mle

Mode of the likelihood function

AUC

Area under curve of the wt. rel. likld function. Estimated numerically using optimize function.

mu

Values of mu between mu.min and mu.max

Val

Values of wt. rel. likld. function evaluated at mu.

Note

No notes.

Author(s)

Milan Bimali.

References

No reference currently.

Examples

1
2
3
mu.min <- 0.5; mu.max <- 50; len <- 100
y <- rnbinom(10,mu=10,size=3)
wt.rel.negbin(y,mu.min,mu.max,plot = TRUE, len = len) 

marl documentation built on May 1, 2019, 9:17 p.m.