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

st: get the value of percentiles for each state


From   Lynda Zhang <lzhang@hmdc.harvard.edu>
To   Stata List <statalist@hsphsun2.harvard.edu>
Subject   st: get the value of percentiles for each state
Date   Mon, 14 Nov 2005 11:08:41 -0500

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.

Thanks a lot!
Lynda



begin:vcard
fn:Lynda Zhang
n:Zhang;Lynda
email;internet:lzhang@hmdc.harvard.edu
version:2.1
end:vcard




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