wt.rel.negbin: Weighted relative likelihood function based on Negative Binomial distribution.
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
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
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.
Details
For mathematical details, please contact the authors.