Home · Command reference

RainbowStats™ · Regression commands

BEST_BIC_REGRESSION

Search candidate regressors and return the selected regression.

Syntax

BEST_BIC_REGRESSION(list,N)

Returned object

RegressionOperator

Example

r=BEST_BIC_REGRESSION(LIST(LOGDIFF(INDPRO),LOGDIFF(PAYEMS),LOGDIFF(CPIAUCSL)),1)
EXTRACT(r,"model")

Interpretation and limitations

Selects from the candidate regressors using the existing getBestVariablesUsingResiduals search path. N must be between 1 and the number of available predictor series. Selection uncertainty is not removed by reporting the final OLS coefficients.

Available extracts

Save the command result in a variable, then use EXTRACT(result, "key"). Availability can depend on the input form and fitted model.

In indexed patterns such as beta:n, replace n with the required index.

Learn more

Detailed guide and examples