rFactorCopulaREMADA | R Documentation |
T
diagnostic testsSimulation from 1-factor copula mixed models for joint meta-analysis of T
diagnostic tests
rFactorCopulaREMADA.norm(N,p,si,taus,qcond1,tau2par1,qcond2,tau2par2)
rFactorCopulaREMADA.beta(N,p,g,taus,qcond1,tau2par1,qcond2,tau2par2)
N |
number of studies |
p |
vector of sensitivities and specificities |
si |
vector of variabilities; normal margins |
g |
vector of variabilities; beta margins |
taus |
Kendall's tau values |
qcond1 |
function for the inverse conditional copula cdfs that link the factor with the latent sensitivities |
tau2par1 |
function for maping Kendall's tau to copula parameter at the copulas that link the factor with the latent sensitivities |
qcond2 |
function for the inverse conditional copula cdfs that link the factor with the latent specificities |
tau2par2 |
function for maping Kendall's tau to copula parameter at the copulas that link the factor with the latent specificities |
A list with the simulated data in matrices with T
columns and N
rows.
the number of true positives
the number of false negatives
the number of false positives
the number of true negatives
Nikoloulopoulos, A.K. (2022) An one-factor copula mixed model for joint meta-analysis of multiple diagnostic tests. Journal of the Royal Statistical Society: Series A (Statistics in Society), 185 (3), 1398–1423. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1111/rssa.12838")}.
N=50
qcond1=qcondcln
tau2par1=tau2par.cln
qcond2=qcondcln270
tau2par2=tau2par.cln270
p=c(0.8,0.7,0.8,0.7,0.8,0.7)
mu=log(p/(1-p))
si=rep(1,6)
taus=c(0.6,0.7,0.5,-0.3,-0.4,-0.2)
out=rFactorCopulaREMADA.norm(N,p,si,taus,qcond1,tau2par1,qcond2,tau2par2)
TP=out$TP
FN=out$FN
TN=out$TN
FP=out$FP
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.