Scatter Plot with Convex Hulls in Stata
A convex hull is a geometry term related to shapes. The convex hull is the smallest convex set that contains a specified shape.
To draw convex hulls on your scatter plot, you first need to download the cvxhull command from the SSC. You can do this in Stata with the following command:
To generate this graph in Stata, use the following commands: