public class SelectionRegressionEx2 extends Object
Finds the best regressions using Mallow's Cp criterion.
This example uses the same data set as example
SelectionRegressionEx1
, but Mallow's Cp statistic is used as the
criterion rather than R2. Note that when Mallow's Cp statistic (or
adjusted R2) is specified, the method setMaximumBestFound
is used to indicate the total number of "best" regressions (rather than
indicating the number of best regressions per subset size, as in the case of
the R2 criterion). In this example, the three best regressions are found
to be (1,2),(1,2,4), and (1,2,3).
Constructor and Description |
---|
SelectionRegressionEx2() |
Copyright © 2020 Rogue Wave Software. All rights reserved.