Plot the estimated probability density function using a doublIn output object.
Plot_doublIn(
doublIn_obj,
label_x = "Days since infection",
label_y = "Probability",
p_shaded = 2,
p_linepieces = c(0.5, 0.9, 0.95)
)
Plot of the estimated probability density function.
output list from function Estimate_doublIn containing parameter estimates.
Label for the x-axis.
Label for the y-axis.
Which area needs to be shaded, i.e. enclosed by which percentile from the vector p_linepieces (1, 2 or 3).
Percentiles to indicate by vertical line pieces, given as vector of length three with probabilities between 0 and 1.
Vera Arntzen, v.h.arntzen@math.leidenuniv.nl
The function plots the estimated probability density function using the parameterisation of the generalized gamma distribution by Stacy et al. that includes the gamma and Weibull distributions as a special case.
Stacy, E. W., and G. A. Mihram, Parameter estimation for a generalized gamma distribution, Technometrics, 7 (3), 349–358, doi:10.1080/00401706.1965.10490268, 1965