rimperfect.trivariateVineCopulaREMADA {CopulaREMADA} | R Documentation |
Simulation from trivariate 1-truncated D-vine copula mixed models for meta-analysis of diagnostic accuracy studies without a gold standard
Description
Simulation from trivariate 1-truncated D-vine copula mixed models for meta-analysis of diagnostic accuracy studies without a gold standard
Usage
rimperfect.trivariateVineCopulaREMADA.norm(N,p,si,taus,select.random,qcond1,
tau2par1,qcond2,tau2par2)
rimperfect.trivariateVineCopulaREMADA.beta(N,p,g,taus,select.random,qcond1,
tau2par1,qcond2,tau2par2)
Arguments
N |
sample size |
p |
Vector |
si |
Vector |
g |
Vector |
taus |
Kendall's tau values |
select.random |
vector |
qcond1 |
function for the inverse of conditional copula cdf for the |
tau2par1 |
function for maping Kendall's tau to copula parameter for the |
qcond2 |
function for the inverse of conditional copula cdf for the |
tau2par2 |
function for maping Kendall's tau to copula parameter for the |
Value
Simulated data with 4 columns and N
rows.
- y11
the number of the test results where the index test outcome is positive and the reference test outcome is positive
- y10
the number of the test results where the index test outcome is positive and the reference test outcome is negative
- y01
the number of the test results where the index test outcome is negative and the reference test outcome is positive
- y00
the number of the test results where the index test outcome is negative and the reference test outcome is negative
References
Nikoloulopoulos, A.K. (2025) Vine copula mixed models for meta-analysis of diagnostic accuracy studies without a gold standard. Biometrics, 81(2), ujaf037. doi:10.1093/biomtc/ujaf037.
Examples
N=59
p=c(0.631,0.653,0.902,0.843,0.987)
si=c(1.513,1.341,1.341)
taus=c(0.3,-0.3)
select.random=c(1,2,4)
out=rimperfect.trivariateVineCopulaREMADA.norm(N,p,si,taus,select.random,
qcondcln180,tau2par.cln180,qcondcln270,tau2par.cln270)
g=c(0.290,0.244,0.190)
out=rimperfect.trivariateVineCopulaREMADA.beta(N,p,g,taus,select.random,
qcondcln180,tau2par.cln180,qcondcln270,tau2par.cln270)