Deming_CLSI_EP14: Estimate prediction band using Deming regression formulated...

Deming_CLSI_EP14R Documentation

Estimate prediction band using Deming regression formulated as in EP14

Description

Estimate prediction band using Deming regression formulated as in EP14

Usage

Deming_CLSI_EP14(
  data,
  level = 0.99,
  R = 3,
  Np = 1000,
  evaluated_materials = NULL
)

Arguments

data

A data frame or data table with format LFDT enclosed with all replicated measurements

level

A numeric value that captures the overall confidence level of the estimated prediction band. This is assumed to be NOT Bonferroni corrected. Recommended level is 0.99

R

An integer signifying the maximum number of replicated measurements performed on each evaluated material. This will shrink the width of the prediction interval and band because using the mean of replicates decreases uncertainty

Np

An integer, which captures the number of pointwise prediction intervals making the prediction band across the concentration range. Ignored if evaluated_materials is !NULL

evaluated_materials

A data frame or data table with format LFDT enclosed with all replicated measurements for evaluated materials such as EQAMs or CRMs. Should be NULL if the PB, that is, pointwise prediction intervals to be estimated

Value

A data table enclosed with information regarding the estimated prediction band across the concentration range

Examples

Deming_CLSI_EP14(MS_wise(sampled_cs_measurements)[Comparison=="MP1 - MP2",], level = 0.95, R = 3, Np = 3e3, evaluated_materials = NULL)

pernille267/commutability.selectivity documentation built on July 20, 2022, 9:11 a.m.