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

From |
Martin Weiss <martin.weiss@uni-tuebingen.de> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: frequency of continuous variables |

Date |
Wed, 25 Jun 2008 21:06:48 +0200 |

-egen, cut- is for you. -ta- afterwards.. Zitat von Man Jia <jia.m@neu.edu>:

Hi all, I was wondering how to show frequency of a continuous variable in several ranges. For example, the variable "wage"measured with dollars and cents. In my data set, there are lots of values for this variables since people's wages are usually different from others. The command "tabulate" shows exactly frequency of each value. That's not what I want. I'd like to see the following information: range of wages frequency <=0.00 ?? (0.00, 10.00] ?? (10.01,20.00] ?? (20.01,30.00] ?? ..................... I know I could find number of observations in each range by using sum if wage <=0.00 sum if wage >0.00 & wage <=10.00 etc. But I'm thinking maybe there's simple way to do this. Any suggestions? Thanks! Mandy Jia * * 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: frequency of continuous variables***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

**References**:**st: frequency of continuous variables***From:*Man Jia <jia.m@neu.edu>

- Prev by Date:
**st: frequency of continuous variables** - Next by Date:
**RE: st: xtdpd and dgmmiv: restricting the LDV instruments** - Previous by thread:
**st: frequency of continuous variables** - Next by thread:
**RE: st: frequency of continuous variables** - Index(es):

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