Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: Histogram by var total option: Display only total histogram?


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: RE: Histogram by var total option: Display only total histogram?
Date   Mon, 21 Dec 2009 00:01:21 +0100


<>

If that is what you want, why not omit the -by()- part entirely?


*************
sysuse auto, clear
hist mpg, by(rep78, total) name(str, replace) nodraw
hist mpg,name(tot, replace) nodraw
gr combine str tot
*************


HTH
Martin

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Duszynski, Andre
(Health)
Sent: Sonntag, 20. Dezember 2009 23:56
To: '[email protected]'
Subject: st: Histogram by var total option: Display only total histogram?

Hello,

In using the "histogram yvar, by(xvar, total)" command to produce histograms
of the total and stratified variables, is it possible to supress the display
of all the stratified variable histograms and to only show the total
histogram? 

Or should I be using an alternate method to display what I'm after?

Kind regards,
Andre Duszynski



*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index