RainbowStats™ · Regression commands
RANDOM_FOREST
Fit a random-forest regression.
Syntax
RANDOM_FOREST(list[,namedOptions...])Returned object
RandomForestOperator
Example
m=RANDOM_FOREST(LIST(LOGDIFF(INDPRO),LOGDIFF(PAYEMS),LOGDIFF(CPIAUCSL)))
EXTRACT(m,"slideshow")Interpretation and limitations
The first argument is LIST(Y,X1,...). Optional settings retain the existing named-argument parser: ARG(name,value), ARG_LIST, or NAME:value. Settings are validated by the existing model class. Inspect out-of-sample behavior and avoid interpreting predictive importance as causal evidence.
Available extracts
Save the command result in a variable, then use EXTRACT(result, "key"). Availability can depend on the input form and fitted model.
regressionproposed_regressionselected_datafittedpredictedresidualsooboob_predictionols_fittedols_oosols_loocvbenchmarkols_summaryols_inferenceimportanceequationrulesconsolidate_rulesconsolidated_rulespredictor_bar_chartsrules_bar_chartbar_chartsbar_chartrules_chartsrule_chartsregimes_bar_chartregimes_bar_chartsregimessummarymodelactualvsfittedslideshow
In indexed patterns such as beta:n, replace n with the required index.