- Laura Whiting

# A Deviation Plot in Stata

A deviation plot is used to plot each observation relative to an appropriate mean, using a marker symbol and a spike.

To create a deviation plot in Stata you first need to download the **devnplot** command from the SSC, which you do in Stata with the following command:

To generate this graph in Stata, use the following commands:

40 views0 comments