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

st: RE: get the value of percentiles for each state


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: get the value of percentiles for each state
Date   Mon, 14 Nov 2005 16:28:10 -0000

First, please don't send email junk like .vcf to Statalist
as it messes up the archives and the digest. 

	Plain text only! 

Second, these measures cannot be calculated without 
some replication of income for each state, so how is 
your data structured? 

Nick 
n.j.cox@durham.ac.uk 

Lynda Zhang
 
> I have two variables INCOME and STATE, and would like to 
> compute a variable that is a ratio of the 90th percentile 
> income/10th percentile income for each state. 
> 
> For example, 90th percentile in MA is 60000 while 10th 
> percentile is 10000. Then the ratio would be 6 for MA.

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index