powered by
Generates tuning constants ca for fixreg dependent on the number of points and variables of the dataset.
ca
fixreg
Only thought for use in fixreg.
can(n, p)
positive integer. Number of points.
positive integer. Number of independent variables.
A number.
The formula is \(3+33/(n*2^{-(p-1)/2})^{1/3}+2900000/(n*2^{-(p-1)/2})^3\). For justification cf. Hennig (2002).
Hennig, C. (2002) Fixed point clusters for linear regression: computation and comparison, Journal of Classification 19, 249-276.
# NOT RUN { can(429,3) # }
Run the code above in your browser using DataLab