evaluateQI: Computation of one QI with attached data and LE

Description Usage Arguments Value Fields

View source: R/compute_results.R

Description

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.

Usage

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
)

Arguments

qi

The QI to compute (object of class qi).

meta_unit

The meta_unit (i.e. LE) to compute results for. Default (NULL) means that all data are used for computation of overall results.

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)

Value

A list containing the point estimate and the uncertainty interval.

Fields

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.


iqtigorg/iqtigprm documentation built on Dec. 20, 2021, 7:58 p.m.