Home · Command reference

RainbowStats™ · Regression commands

PRESIDENT_REGRESSION

Fit regression with presidential-term dummy variables.

Syntax

PRESIDENT_REGRESSION(series)
PRESIDENT_REGRESSION(list)

Returned object

RegressionOperator

Example

r=PRESIDENT_REGRESSION(UNRATE)
EXTRACT(r,"model")

Interpretation and limitations

The list form retains other predictors after adding presidential dummy variables. A term association is not a causal estimate of presidential policy.

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.