Stem-and-leaf display in Stata - Displaying Data in Stata.
You can display data as Stem-and-leaf in Stata easily.
Use dataset in this link.
use the following command to plot the Stem-and-leaf in Stata.
stem salary, prune digit(7)
Explain:
stem salary: plot stems.
prune: is do not print stems that have no leaves.
digit(7): digit per leaf is 7 digit.
Results:
Comments
Post a Comment