
Method for inverse chi-square delay with uniform primary
Source:R/pcens_cdf.R
pcens_cdf.pcens_pinvchisq_dunif.RdThe inverse chi-square distribution of extraDistr::pinvchisq() with
nu degrees of freedom is the inverse gamma distribution with
alpha = nu / 2 and beta = 1 / 2.
With a scale tau it is the scaled inverse chi-square distribution, with
beta = nu * tau / 2.
Both use pcens_cdf.pcens_pinvgamma_dunif(), so nu at or below 2 uses
the numerical pcens_cdf.default() method.
Usage
# S3 method for class 'pcens_pinvchisq_dunif'
pcens_cdf(object, q, pwindow, use_numeric = FALSE)Arguments
- object
A
primarycensoredobject as created bynew_pcens().- q
Vector of quantiles
- pwindow
Primary event window. Use
pwindow = 0for an exactly observed primary event, in which case the delay CDF is used directly.- use_numeric
Logical, if TRUE forces use of numeric integration even for distributions with analytical solutions. This is primarily useful for testing purposes or for settings where the analytical solution breaks down.
See also
Low level primary event censored distribution objects and methods
new_pcens(),
pcens_cdf(),
pcens_cdf.default(),
pcens_cdf.pcens_pbeta_dunif(),
pcens_cdf.pcens_pchisq_dunif(),
pcens_cdf.pcens_pdiscretehazard(),
pcens_cdf.pcens_pdiscretestep(),
pcens_cdf.pcens_pexp_dunif(),
pcens_cdf.pcens_pgamma_dunif(),
pcens_cdf.pcens_pgengamma.orig_dunif(),
pcens_cdf.pcens_pgengamma_dunif(),
pcens_cdf.pcens_pinvgamma_dunif(),
pcens_cdf.pcens_plnorm_dunif(),
pcens_cdf.pcens_pnorm_dunif(),
pcens_cdf.pcens_ppareto_dunif(),
pcens_cdf.pcens_pweibull_dunif(),
pcens_pmf(),
pcens_pmf.default(),
pcens_quantile(),
pcens_quantile.default(),
update.pcens()