Description Usage Arguments Value Fields
View source: R/compute_results.R
Apply Bayesian computation method to one QI with an attached data set for one LE. Each individual merkmal of the QI is computed separately. Overall QI results are computed by MC-sampling from the Merkmal-specific posteriors. The seed for MC-sampling is fixed such that repeated evaluation of the QI yields the same results with respect to the credibility interval.
1 2 3 4 5 6 7 8 | evaluateQI(
qi,
meta_unit = NULL,
conf_level = 0.95,
a = 0.5,
b = 0.5,
nMC = 1e+05
)
|
qi |
The QI to compute (object of class |
meta_unit |
The meta_unit (i.e. LE) to compute results for. Default ( |
conf_level |
Confidence level of the resulting uncertainty interval |
a |
first prior parameter of Beta distribution for each Merkmal |
b |
second prior parameter of Beta distribution for each Merkmal |
nMC |
Number of Monte Carlo Samples (needed for QIs with >1 Merkmale) |
A list containing the point estimate and the uncertainty interval.
QI_hat
Posterior mean estimate for QI value.
J
Number of patients in the data set for the LE.
interval
A vector of length two containing the uncertainty interval.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.