Kiefer-Wolfowitz NPMLE for Weibull Mixtures of scale parameter
Weibullmix(
x,
v = 300,
u = 300,
alpha,
lambda = 1,
event = NULL,
hist = FALSE,
weights = NULL,
...
)
An object of class density with components
points of evaluation on the domain of the density
estimated function values at the points x of the mixing density
Log likelihood value at the proposed solution
Bayes Rule estimates of mixing parameter
exit code from the optimizer
Survival times
Grid values for mixing distribution
Grid values for histogram bins, if needed
Shape parameter for Weibull distribution
Scale parameter for Weibull Distribution; must either have length 1, or length
equal to length(x)
the latter case accommodates the possibility of a linear predictor
censoring indicator, 1 if actual event time, 0 if censored
If TRUE aggregate to histogram counts
replicate weights for x obervations, should sum to 1
optional parameters passed to KWDual to control optimization
Roger Koenker and Jiaying Gu
Kiefer Wolfowitz NPMLE density estimation for Weibull scale mixtures. The histogram option is intended for relatively large problems, say n > 1000, where reducing the sample size dimension is desirable. By default the grid for the binning is equally spaced on the support of the data. Parameterization: f(t|alpha, lambda) = alpha * exp(v) * (lambda * t )^(alpha-1) * exp(-(lambda * t)^alpha * exp(v)); shape = alpha; scale = lambda^(-1) * (exp(v))^(-1/alpha) This version purports to handle right censoring.
Kiefer, J. and J. Wolfowitz Consistency of the Maximum Likelihood Estimator in the Presence of Infinitely Many Incidental Parameters Ann. Math. Statist. Volume 27, Number 4 (1956), 887-906.
Koenker, R. and J. Gu, (2017) REBayes: An R Package for Empirical Bayes Mixture Methods, Journal of Statistical Software, 82, 1--26.
Gompertzmix