Total-Intra Ratio (TIR) is the ratio of MSD(total) and MSD(intra), it compares the total-rater agreement to intra-rater precision.
Usage
TIR(data, k, m, testindex, refindex, error, alpha = 0.05)
Arguments
data
Name of your dataset.
k
Number of methods/raters/instruments/assay, etc.
m
Number of replications for each methods/raters/instruments/assay, etc.
testindex
The index for the test raters, it can be a numerical vector or a character value "all". For example, if testindex=c(1,2), the first and second rater are selected as the test raters for calculating TIR.
refindex
The index for the reference raters, it can be a numerical vector or a character value "all". For example, if refindex="all", all raters are selected as the reference raters for calculating TIR.
error
error="const" for the constant error structure for continuous data. error="prop" for the proportional error structure for continuous data. Here, log transformation to data will be applied for the continuous data. For categorical data, use error="const".