There are two alternative ways of specifying the desired conditional error function:
through a type typ
, and either a parameter (either a2
or c
) or a point (p1,p2)
, OR
through an initial conditional error function fun
, and possibly a distortion method dis
together with either the parameter a2
or a point (p1,p2)
Most people will only need the first of these two ways; the second leads to user-defined non-standard tests.
If typ
is specified, a parameter a2
or c
or the point (p1,p2)
must be provided. In this case, CEF
returns the conditional error function of the chosen type with the given parameter or running through the given point.
If typ
is not specified, a conditional error function (i.e., a nonincreasing function defined on [0,1] with values in [0,1]) fun
must be provided. If no distortion method is selected (dis = NA
), fun
is returned unchanged. Otherwise, the function is distorted using the chosen distortion method, either to match a desired second stage level a2
or to run through a specified point (p1,p2)
(one of which must be provided). Currently, two distortion methods are implemented:
dis = "pl"
, Power lines: For an initial function \(f\), define \(f[r](x) = (f(x^r))^(1/r)\), r>0. Note that if \(f\) is a conditional error function of type "b"
(Bauer and Koehne, 1994), so is \(f[r]\).
dis = "pl"
, Vertical translation: The initial function is shifted vertically.
See parconv
for more information on the two alternative parameterizations by \(\alpha_2\) and \(c\).