Transcription of Syntax - Stata
{{id}} {{{paragraph}}}
Histograms for continuous and categorical variablesSyntaxMenuDescriptionOptions for use in the continuous caseOptions for use in the discrete caseOptions for use in the continuous and discrete casesRemarks and examplesReferencesAlso seeSyntaxhistogramvarname[if] [in] [weight] [,[continuousopts|discreteopts]options]c ontinuousoptsDescriptionMainbin(#)set number of bins to#width(#)set width of bins to#start(#)set lower limit of first bin to#discreteoptsDescriptionMaindiscretesp ecify that data are discretewidth(#)set width of bins to#start(#)set theoretical minimum value to#12 histogram Histograms for continuous and categorical variablesoptionsDescriptionMaindensitydr aw as density; the defaultfractiondraw as fractionsfrequencydraw as frequenciespercentdraw as percentagesbaroptionsrendition of barsaddlabelsadd height lab
twoway options are any of the options documented in[G-3] twoway options. This includes, most importantly, options for titling the graph (see[G-3] title options), options for saving the graph to disk (see[G-3] saving option), and the by() option, which will allow you to simultaneously graph histograms for different subsets of the data (see[G-3 ...
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}