Description Usage Arguments Value Note Author(s)
var_loa
returns variance of
limits of agreement (LoA) based on a method proposed
by Bland and Altman (1999).
1 |
n |
number of subjects |
n_obs |
number of observations |
bsv |
between-subject variance |
wsv |
within-subject variance |
output_subjects |
data.table containing subject ID and number of measurements of each subject (m_i) |
var_var_d |
variance of the variance of mean of all differences |
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 |
beta |
for 100*(1-beta)%-confidence interval around bias |
var_loa
variance of limits of agreement
se_d
standard error of bias
Function calculates other variables as well (but does not return the,)
ev_var_d
expected value of variance of all differences
var_bias
variance of mean of all differences
var_sd_d
variance of the standard deviation of the
differences
Inga Koenemund inga.koenemund@web.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.