[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

From |
"Michele Favre M." <mfavre@afpprovida.cl> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
RE: st: Generating Tables |

Date |
Wed, 22 Jun 2005 12:20:01 -0400 |

Hi, I'm gonna try to be more clearer... The finished product I need is something like this: so I want to know if there is a command that shows me this table with all the answers, because it takes too much time to do it manually. Thanks! -----Mensaje original----- De: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu]En nombre de Daniel Egan Enviado el: Miércoles, 22 de Junio de 2005 11:33 Para: statalist@hsphsun2.harvard.edu Asunto: Re: st: Generating Tables Hi Michele, If you mean for each of the variables you want to create specific intervals, and then put tabulations by interval for each variables into a table, you will have to hand code those intervals, (unless the are common across variables). If you want a table of statistics by intervals of salary, then the code below should work. *non-entity specific gen salcat=. replace salcat=1 if salary<=100 replace salcat=2 if salary>100 & salary<=500 replace salcat=3 if salary>500 lab define salcatv 1 "<=100" 2 "100-500" 3 "500+" statsby (.......), by(salcat) Can you be any clearer about what the finished product should be? On 6/22/05, Michele Favre M. <mfavre@afpprovida.cl> wrote: > > > > Hi, > > I have a panel data, one observation is the salary, and I want to create a > table with intervals for the salary and other variables, for example 0-100 > 101-500 and so on... I want to know if is there a way to obtain the complete > table or I have to extract each observation and make the table for my self? > > > > > > Thanks, > > > > Michele * * 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/ * * 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/

**Follow-Ups**:**RE: st: Generating Tables***From:*"Michele Favre M." <mfavre@afpprovida.cl>

**References**:**Re: st: Generating Tables***From:*Daniel Egan <degan.stata@gmail.com>

- Prev by Date:
**Re: st: Stata 8.2/SE: Looking for a Transcoding-Tool to codeICD10 back to ICD9** - Next by Date:
**RE: st: Generating Tables** - Previous by thread:
**Re: st: Generating Tables** - Next by thread:
**RE: st: Generating Tables** - Index(es):

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