# Calculate the minimum error to assume in order to pass the variance test

## Usage

kinerrmin(kinfits, kinmodel = "SFO", alpha = 0.05)

## Arguments

kinfits
The list of kinetic model(s) from which to select. Usually this will have been generated by kinfit.
kinmodel
The kinetic model to be checked. Should be one of the names of the kinetic models used for generating kinfits.
alpha
The confidence level chosen for the chi-squared test.

## Description

This function uses optimize in order to iteratively find the smallest relative error still resulting in passing the chi-squared test as defined in the FOCUS kinetics report from 2006.

## Value

The relative error, expressed as a fraction.

## References

FOCUS (2006) “Guidance Document on Estimating Persistence and Degradation Kinetics from Environmental Fate Studies on Pesticides in EU Registration” Report of the FOCUS Work Group on Degradation Kinetics, EC Document Reference Sanco/10058/2005 version 2.0, 434 pp, http://focus.jrc.ec.europa.eu/dk

## Examples

data(FOCUS_2006_A)
kinfits <- kinfit(FOCUS_2006_A)
kinerrmin(kinfits)

[1] 0.08384814


Johannes Ranke