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 labels to barsaddlabopts(markerlabeloptions)affect rendition of labelsDensity plotsnormaladd a normal density to the graphnormopts(lineoptions)affect rendition of normal densitykdensityadd a kernel density estimate to the graphkdenopts(kdensityoptions)affect rendit
addplot(plot) allows adding more graph twoway plots to the graph; see[G-3] addplot option. Y axis, X axis, Titles, Legend, Overall, By 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
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}