Recovery and bias-aware precision of back-calculated standards
Source:R/point_estimates_contract.R
standard_recovery.RdFor calibrators, whose nominal concentration is known, computes the recovery
(estimated / nominal, in percent) and the CV of the root-mean-square error,
which adds the bias against the nominal value to the standard error:
sqrt(se^2 + bias^2) on the log10 scale, expressed as a CV in percent the same
way pcov is, and capped at cv_x_max.
Arguments
- predicted
Back-calculated concentration on the fit's x scale (
predicted_concentration).- nominal
Nominal concentration on the same scale (the x value the fit used: log10 when
is_log_independent).- se
Standard error of
predicted, same scale (se_concentration).- is_log_independent
Logical: is x on the log10 scale?
- cv_x_max
Cap for the CV, as for
pcov(default 150).