compute_results: Compute all QIs in a QIDB data pair.

Description Usage Arguments Value Fields

View source: R/compute_results.R

Description

Applies the Bayesian computation method to all QIs in a QIDB-data-pair, separately to all LEs as identified through the meta_unit column in the data.

Usage

1
2
3
4
5
6
7
compute_results(
  qidb_data_pair,
  conf_level = 0.95,
  a = 0.5,
  b = 0.5,
  nMC = 1e+05
)

Arguments

qidb_data_pair

A list of QIs with linked data (of class qi)

conf_level

Confidence level of the resulting uncertainty interval

a

first prior parameter of Beta distribution for each QI Merkmal

b

second prior parameter of Beta distribution for each QI Merkmal

nMC

Number of Monte Carlo Samples (needed for QIs with >1 Merkmale)

Value

A data.frame containing all computation results, one row per result

Fields

KN_ID

the idenifier of the QI

meta_unit

the identifier of the Leistungserbringer (LE)

QI_hat

Posterior mean estimate for QI value

J

overall number of patients in the data set.

lower

lower border of the uncertainty interval.

upper

upper border of the uncertainty interval.

Auff_stat

indicates if result is "statistisch auffaellig"

RefVal

reference value for computation of "statistisch auffaellig"


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