• Laura Whiting

A Density Heat Map in Stata

To create a density heat map in Stata you need four commands – spgrid, spkde, grmap, and mylabels. The grmap command is native to Stata.


You can download the three non-native commands from the SSC within Stata using the following commands:

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


42 views0 comments

Recent Posts

See All