
Estimate Additive and proportional errors from calibration data
Source:R/estim_residuals.R
fit_var.RdEstimate Additive and proportional errors from calibration data
Arguments
- data
Data frame with columns: conc (concentration), stdconc (standardized concentration, e.g. conc/LLOQ)
- level
Confidence level for the CI (default is 0.95)
- method
Optimization method (default is "nlminb")
- bootstrap
Logical indicating whether to perform bootstrap (default is TRUE)
- n_boot
Number of bootstrap samples (default is 1000)