• Laura Whiting

Create and Combine Graph of Every Numeric Variable in Dataset

You can use foreach{} loops along with the ds command to loop through all numeric variables in your dataset and apply the same graph to each. Once all these graphs are made you can use Stata's local macros to collect the graph names and combine them.

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

14 views0 comments