Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: splitting the dataset into percentiles by groups


From   Sebastian Witt <sebastianwitt87@googlemail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: splitting the dataset into percentiles by groups
Date   Fri, 20 Jul 2012 15:43:32 +0200

Hi guys,

i am completely new to stata and have a question regarding the
splitting of my dataset into percentiles.

I am examining the impact of migration on the wage distribution and am
considering variation over time
and regions (provinces). so for each province for each year i need the
different percentiles of wages. does anyone
know how to do this without splitting up the dataset in excel prior to
stata? I have been trying with the
-centile- function but i dont know how to tell stata to do that for
every year and every province and additionaly
to expand this to the control variables aswell.

thanks a lot!!!!

seb
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index