BART Procedure

MARGINDIFF Statement

  • MARGINDIFF EVENT='margin-name' REF='margin-name' / <LABEL=label> <NAME=name> ;

The MARGINDIFF statement computes the difference between two predictive margins. You must specify the event predictive margin by using the EVENT= option and specify the reference predictive margin by using the REF= option. You identify the event and reference predictive margins by using a margin-name that you specify in a MARGIN statement.

You can specify the following options after a slash (/):

LABEL=label

labels the difference between predictive margins in output tables.

NAME=name

names the difference in predictive margins. A name for the difference is required if you use the OUTPUTMARGINS statement to create an output data table of the predictive margins and their differences.

Last updated: June 22, 2026