RainbowStats™ · Regression commands
THRESHOLD_REGRESSION
Search for a two-regime regression threshold.
Syntax
THRESHOLD_REGRESSION(list,splitColumn)
THRESHOLD_REGRESSION(list,splitColumn,minSideObservations)Returned object
ThresholdRegressionOperator
Example
t=THRESHOLD_REGRESSION(LIST(UNRATE,JTSJOR),1,24)
EXTRACT(t,"slideshow")Interpretation and limitations
The existing BinaryThresholdRegression search and minimum-side convention are retained. Extracts include the SSR profile, pooled and regime fits, threshold, slopes, t statistics, observation counts and SSR comparisons. A data-selected threshold needs cautious inference.
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.