Usage
probsens.irr(counts, pt = NULL, reps = 1000, seca.parms = list(dist =
c("constant", "uniform", "triangular", "trapezoidal", "logit-logistic",
"logit-normal"), parms = NULL), seexp.parms = NULL, spca.parms = list(dist
= c("constant", "uniform", "triangular", "trapezoidal", "logit-logistic",
"logit-normal"), parms = NULL), spexp.parms = NULL, corr.se = NULL,
corr.sp = NULL, discard = TRUE, alpha = 0.05, dec = 4, print = TRUE)
Arguments
counts
A table or matrix where first row contains disease counts and second row contains person-time at risk, and first and second columns are exposed and unexposed observations, as:
lll{
Exposed Unexposed
Cases a b
Person-time N1 N0
}
pt
A numeric vector of person-time at risk. If provided, counts
must be a numeric vector of disease counts.
reps
Number of replications to run.
seca.parms
List defining the sensitivity of exposure classification among those with the outcome. The first argument provides the probability distribution function (uniform, triangular, trapezoidal, logit-logistic, or logit-normal) and the second its parameters as a
seexp.parms
List defining the sensitivity of exposure classification among those without the outcome.
spca.parms
List defining the specificity of exposure classification among those with the outcome.
spexp.parms
List defining the specifity of exposure classification among those without the outcome.
corr.se
Correlation between case and non-case sensitivities.
corr.sp
Correlation between case and non-case specificities.
discard
A logical scalar. In case of negative adjusted count, should the draws be discarded? If set to FALSE, negative counts are set to zero.
dec
Number of decimals in the printout.
print
A logical scalar. Should the results be printed?