Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: summarize with chist


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: summarize with chist
Date   Thu, 16 Jan 2003 14:02:47 -0000

Kompal Sinha

> I am using chist to create a frequency distribution table 
> with specified
> intervals. Is it possible that I also get mean and standard 
> deviation of
> that variable in each interval???

-chist- is a user-written program from Phil 
Ender. 

You can get what I think you want by 

1. copying chist.ado to chist2.ado 

2. editing the line 

program def chist

to 

program def chist2

3. editing the line 

tabulate `class' 

to 

tabulate `class', su(`varlist')

4. saving chist2.ado 

5. issuing commands to chist2. 

Nick 
[email protected] 

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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