View source: R/IRtest_BiSurvCopula.R
IRtest_BiSurvCopula | R Documentation |
IR test for misspecification of copula functions in semi-parametric survival copula model for bivariate right-censored data
IRtest_BiSurvCopula(
x1,
x2,
d1,
d2,
copula.fam,
control = list(yes.boot = TRUE, nboot = 500, seed1 = 1234, same.cen = FALSE)
)
x1 |
a vector, the first response |
x2 |
a vector, the second response |
d1 |
a vector of indicators whether each observation in |
d2 |
a vector of indicators whether each observation in |
copula.fam |
a character indicating which one of the following copula families: "clayton", "frank", "joe", "gumbel", and "normal" |
control |
a list of the following components: |
a list of the following components: theta.est
, the PMLE of the copula parameter, IR
, IR test statistic, IR.boot
, the bootstrapped resamples of the IR test statistics if yes.boot=TRUE
, and pval
, the one-sided and two-sided p-values if yes.boot=TRUE
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.