IMSL C# Numerical Library

SelectionRegression.SummaryStatistics.GetCoefficientStatistics Method 

Returns the coefficients statistics for each of the best regressions found for each subset considered.

public virtual double[,] GetCoefficientStatistics(
   int regressionIndex
);

Parameters

regressionIndex
An int which specifies the index of the best regression statistics to return.

Return Value

A two-dimensional double array containing the regression statistics.

Remarks

The value set using MaximumBestFound determines the total number of best regressions to find. The number of best regression is equal to (MaximumSubsetSize x MaximumBestFound), if criterion RSquared is specified or it is equal to MaximumBestFound if either MallowsCP or AdjustedRSquared is specified.

Each row contains statistics related to the regression coefficients of the best models. The regressions are ordered so that the better regressions appear first. The statistic in the columns are as follows (inferences are conditional on the selected model):

Column Description
0variable number
1coefficient estimate
2estimated standard error of the estimate
3t-statistic for the test that the coefficient is 0
4p-value for the two-sided t test

There will be 0 to (MaximumSubsetSize x MaximumBestFound - 1) best regressions if RSquared is specified or 0 to (MaximumBestFound - 1) if either MallowsCP or AdjustedRSquared is specified.

See Also

SelectionRegression.SummaryStatistics Class | Imsl.Stat Namespace | RSquared | AdjustedRSquared | MallowsCP