main_ci: Calculatin of confidence intervals for limits of agreement (3...

Description Usage Arguments Value Note Author(s)

Description

main_ci returns confidence intervals (CI) for limits of agreement (LoA) based on three different methods (Bland and Altman (1999), MOVER and parametric bootstrap-t). Helper function for blandxtr which performs the whole analysis.

Usage

1
2
main_ci(bt, input_dt, bias_alt, bv, var_tvv, loa, loa_mod, var_loa,
  var_loa_mod, alpha, beta)

Arguments

bt

number of bootstrap samples

input_dt

data.table with input dataset

bias_alt

set TRUE for alternative calculation of bias (small within-subject variance) and its variance, set FALSE for standard calculation of bias (small between-subjects variance) and its variance

bv

result of basic_variables.R

var_tvv

result of var_tvv.R

loa

result of loa.R

loa_mod

result of loa.R based on modified analysis of variance

var_loa

result of var_loa.R

var_loa_mod

result of var_loa.R based on modified analysis of variance

alpha

for 100*(1-alpha)%-confidence interval around LoA

beta

for 100*(1-beta)%-confidence interval around bias

Value

A list with confidence intervals of the three methods

Note

Input can be easily generated by previously running main-pre-function from blandxtr-package.

Author(s)

Inga Koenemund inga.koenemund@web.de


ikoenemund/blandxtr documentation built on June 13, 2019, 8:53 p.m.