Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: Expansion for Choice set 0/1


From   "Ferro,Gabrielle A" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: Expansion for Choice set 0/1
Date   Fri, 7 Jun 2013 15:31:13 +0000

I have a data set that includes current place of residence and place of residence 1 year prior.  I am looking to expand the data set so that each observation becomes 48 observations where for each new observation, the individual has the "choice" to migrate to each of the 48 contiguous states.  I would like to create a 0/1 for each state to show that they moved there or did not.  In addition I need to be able to find the difference in several state-level variables between the state they moved to (or had the option to move to) and the state 1 year prior.  I am looking for the most efficient way to do this.  Thank you for your help.

_____________________________________________________________________________________________________________________
 
Gabrielle Ferro
Graduate Student
Food and Resource Economics
University of Florida
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index