Learn R Programming

Agreement (version 0.8-1)

IIR: Intra-Intra Ratio (IIR)

Description

Intra-Intra Ratio (IIR) compares the intra-rater precision among selected raters.

Usage

IIR(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 must be a numerical vector. For example, if k=3 and testindex=c(1,2), the first and second rater are selected as the test raters for calculating IIR.
refindex
The index for the reference raters, it must be a numerical vector. For example, if k=3 and refindex=3, the third rater is 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
IIR
The estimator of IIR.
IIR_upper
The upper 1-alpha/2 confidence limit for IIR.
IIR_lower
The lower 1-alpha/2 confidence limit for IIR.

See Also

TIR_IIR, TIR

Examples

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

Run the code above in your browser using DataLab