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

Deming_Gillard_FullerR Documentation

Estimate prediction band using Deming regression formulated by J. Gillard and Fuller

Description

Estimate prediction band using Deming regression formulated by J. Gillard and Fuller

Usage

Deming_Gillard_Fuller(
  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 already be Bonferroni-corrected. The recommended base 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 or for the particular evaluated materials

Examples

Deming_Gillard_Fuller(data = MS_wise(sampled_cs_measurements)[Comparison=="MP1 - MP2",], level = 0.95, R = 3, evaluated_materials = NULL)

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