Click or drag to resize
SelectionRegressionSummaryStatisticsGetCoefficientStatistics Method
Returns the coefficients statistics for each of the best regressions found for each subset considered.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public virtual double[,] GetCoefficientStatistics(
	int regressionIndex
)

Parameters

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

Return Value

Type: Double
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):

ColumnDescription
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