*! version 1.0 11may2017

Title

mplotoffset -- Marginsplot with offset plotting

Syntax

mplotoffset marginsplot_specification [,
offset_options marginsplot_options]

offset_options

offset(number) amount to offset x-axis categories. The default is 0.05.

ovar(varname) Specify variable name to offset. Default is the variable that defines the plots.

marginsplot_options is the full set of options available for marginplot command.

Description

mplotoffset is a modified version of marginplot that offsets on the x-axis the multiple plots. This can help to see clearly
the confidence intervals.

This command is based on a slightly-modified version of the official Stata marginsplot.ado; it is based on the marginsplot version 1.1.1 (14mar2015).

Examples

Combining results from multiple parallel models

. sysuse auto

. reg mpg i.rep78 i.foreign i.rep78#i.foreign

. margins rep78#foreign

. mplotoffset

. oprobit rep78 mpg price weight

. margins , at(mpg=(10(5)40))

. mplotoffset, offset(0.5) recast(scatter)

Author

Nicholas Winter, University of Virginia, USA

nwinter@virginia.edu