Using Panel Data in Stata
9. February 2008 11:27reshape long EXPOSURE, i(GROUP) j(year) (note: j = 2000 2001 2002) Data wide -> long ----------------------------------------------------------------------------- Number of obs. 200 -> 600
Number of variables 4 -> 3 j variable (3 values) -> year xij variables: EXPOSURE2000 EXPOSURE2001 EXPOSURE2002 -> EXPOSURE---------------------
long tells reshape that we want to go from wide to long
EXPOSURE tells Stata that the stem of the variable to be converted from wide to long is EXPOSURE
i(GROUP) option tells reshape that GROUP is the unique identifier for records in their wide format
j(year) tells reshape that the suffix of faminc (i.e., 2000 2001 2002) should be placed in a variable called year
The reshape wide command puts the data back into wide format

Email 
11/6/2010 2:13:06 AM
I'm rather new in path from the net and vital to scan up on this subject matter. Thought to be it was a excellent doc somewhat appropriately written and valuable. I'm heading to absolutely be coming as rapidly as once a lot more for your net webpage to search considerably considerably a lot a lot more posts as i adored this an individual.
Nike Shox Deliver