Learn R Programming

fpc (version 2.2-13)

can: Generation of the tuning constant for regression fixed point clusters

Description

Generates tuning constants ca for fixreg dependent on the number of points and variables of the dataset.

Only thought for use in fixreg.

Usage

can(n, p)

Value

A number.

Arguments

n

positive integer. Number of points.

p

positive integer. Number of independent variables.

Details

The formula is \(3+33/(n*2^{-(p-1)/2})^{1/3}+2900000/(n*2^{-(p-1)/2})^3\). For justification cf. Hennig (2002).

References

Hennig, C. (2002) Fixed point clusters for linear regression: computation and comparison, Journal of Classification 19, 249-276.

See Also

fixreg

Examples

Run this code
  can(429,3)

Run the code above in your browser using DataLab