Bivariate Count probability Using Frank copula (user)
Source:R/RcppExports.R
dRenewalFrankCopula_user.RdBivariate Count probability Using Frank copula to model dependence using user passed survival objects
Bivariate Count probability Using Frank copula to model dependence using built-in distributions
Usage
dRenewalFrankCopula_user(
x,
y,
survX,
survY,
distParsX,
distParsY,
extrapolParsX,
extrapolParsY,
theta,
time = 1,
logFlag = FALSE,
nsteps = 100L,
extrap = TRUE
)
dRenewalFrankCopula_bi(
x,
y,
distX,
distY,
distParsX,
distParsY,
theta,
time = 1,
logFlag = FALSE,
nsteps = 100L,
extrap = TRUE
)Arguments
- x, y
numeric vector the desired counts.
- survX, survY
R functions: the survival functions.
- distParsX, distParsY
List of Lists. Each slot is a named vector of distribution parameters.
- extrapolParsX, extrapolParsY
list vec of length 2 values of the Richardson extrapolation parameters for the inputted distribution.
- theta
double Frank copula parameter.
- time
double time at wich to compute the probabilities. Set to 1 by default.
- logFlag
TODO
- nsteps
unsiged integer number of steps used to compute the integral.
- extrap
logical if
TRUE, Richardson extrapolation will be applied to improve accuracy. TODO: (this is for arg. method, maybe!) param dePrilConv logical ifTRUEthe dePril method will be applied to compute convolution. Otherwise, the binary decomposition of section 3 will be used.- distX, distY
character name of the survival distribution.