Home · Command reference

RainbowStats™ · Regression commands

MATCHED_COMPARISON

Compare matched observations across groups.

Syntax

MATCHED_COMPARISON(list,groupColumn,threshold)
MATCHED_COMPARISON(list,groupColumn,threshold,caliper)

Returned object

MatchedComparisonOperator

Example

m=MATCHED_COMPARISON(LIST(UNRATE,JTSJOR,CPIAUCSL),1,4)
EXTRACT(m,"balance")

Interpretation and limitations

The existing matcher determines groups using the specified column and threshold. An optional numeric caliper limits matching distance. Inspect the balance, match rate and pair distances alongside the estimated difference.

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