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: reshape and overtime variation


From   [email protected]
To   [email protected]
Subject   st: reshape and overtime variation
Date   Wed, 13 Nov 2013 19:54:31 +0100 (CET)

Der Stata-list-users, 

I am working with a balanced panel dataset in long format (that also includes missing values). The dataset has more than 200 variables. Some of these variables vary over time, others do not. 

I want to reshape the dataset into a wide format without loosing any information. For this purpose I would like to create a local -NOTFIX- which should only contain all variable names of variables that are (within all observation units) constant over time. 

My ultimate aim is then to type: reshape wide `NOTFIX', i(unit_id) j(year)

My question: Can anyone provide a suggestion on how to create NOTFIX?

Many thanks!
Darjusch Tafreschi

 
 

*
*   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