RainbowStats™ · Regression commands
FIXED_THRESHOLD_REGRESSION
Estimate two regimes at a fixed threshold.
Syntax
FIXED_THRESHOLD_REGRESSION(list,splitColumn,threshold)Returned object
ThresholdRegressionOperator
Example
t=FIXED_THRESHOLD_REGRESSION(LIST(UNRATE,JTSJOR),1,4)
EXTRACT(t,"model")Interpretation and limitations
The threshold is supplied by the caller, rather than selected by minimizing SSR. Uses the same returned model and extract interface as searched threshold regression.
Available extracts
Save the command result in a variable, then use EXTRACT(result, "key"). Availability can depend on the input form and fitted model.
slideshowmodelsummarythreshold_modelssr_profilethreshold_profilebelow_modelbelowabove_modelabovepooled_residualspooled_modelpooledthresholdbelow_slopeabove_slopebelow_tstatabove_tstatpooled_ssrsplit_ssrssr_improvementssr_improvement_pctf_statf_statisticbelow_observationsabove_observations
In indexed patterns such as beta:n, replace n with the required index.