IIR: Intra-Intra Ratio (IIR)

Description Usage Arguments Value Note Author(s) See Also Examples

View source: R/IIR.R

Description

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

Usage

1
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.

Note

The selected two sets of test and reference raters should be mutually exclusive.

Author(s)

Yue Yu <yyu@imyy.net>

See Also

TIR_IIR, TIR

Examples

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

Agreement documentation built on May 29, 2017, 3:30 p.m.