Learn R Programming

Agreement (version 0.8-1)

TIR: Total-Intra Ratio (TIR)

Description

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".
alpha
100(1-alpha)

Value

Return a list of values
TIR
The estimator of TIR.
TIR_upper
The upper 1-alpha confidence limit for TIR.
TIR_lower
The lower 1-alpha confidence limit for TIR.

See Also

TIR_IIR, IIR

Examples

Run this code
data(DCLHb);
TIR(DCLHb, k=2,m=2,testindex=c(1,2),refindex="all",error="const",alpha=0.05);

Run the code above in your browser using DataLab