Skip to content
Prev 269186 / 398502 Next

reshape a matrix

On Aug 20, 2011, at 1:21 PM, Uwe Ligges wrote:

            
The stumbling blocks I have encountered are in trying to figure out  
which of the multiple arguments are needed a) in going from wide to  
long and b) in going from long to wide, c) and what are the reasons  
for the various error messages I provoke . I am almost never able to  
do it correctly on the first try and rarely able to do it even on the  
fourth try. I bought Spector's book in hopes of understanding it  
better, but his efforts did not take root in my brain.

In the instance above, how would I have know how to apply the help  
page description of timevar (below) to this problem?

timevar
the variable in long format that differentiates multiple records from  
the same group or individual.

To my reading that does not distinguish the purpose of 'timevar' from  
the purpose of 'idvar' and then reading the 'idvar' definition just  
below it does not help at all.