![]() ![]() It should be noted that a histogram can show the frequency distribution (or density, frequency or fraction) of only one variable at a time. A separate window with the histogram displayed will be opened. In the dialogue box that opens, choose a variable from the drop-down menu in the ‘Data’ section, and press ‘Ok’. To create histogram in Stata, click on the ‘Graphics’ option in the menu bar and choose ‘Histogram’ from the dropdown. We now want to create a histogram for the variable ‘mpg’ which holds data for the mileage of an automobile. Click on the ‘use’ option in front of the dataset name in the list in order to load it in memory. Go to File -> Example Datasets -> “Example Datasets Installed With Stata”. Let’s load one of Stata’s inbuilt datasets to see how histograms are created. In this article we are going to learn how to create Histogram in Stata Histograms are a common way of graphically representing the frequency distribution of data. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |