Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: transposing data set


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: transposing data set
Date   Fri, 18 Jul 2008 19:34:39 +0100 (BST)

-reshape- is what you are looking for, see -help reshape-.

Hope this helps,
Maarten

--- Mike Hine <[email protected]> wrote:

> Hello
> I am new to Stata and am trying to manipulate my data set so I can do
>  
> some multilevel analyses on it.
> 
> Currently, each record in the data set represents one participant's  
> results from an experiment.  Included in each record are some  
> participant level variables (personality measures, performance etc)  
> and some repeated measures (various state emotion variables from t1  
> through t6 among others)
> 
> Essentially I would like to re-organize the data set so that each  
> record represents a time period from the experiment.  So if I have
> 100  
> participants I would end up with 600 records.  I would like the  
> participant level variables replicated for each new t1 through t6  
> record per participant.
> 
> I perused the data management manual and saw xpose which seems like
> it  
> would be helpful but not a complete solution.
> 
> Thanks for any help you can provide.
> 
> Mike
> 
> 
> *
> *   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/
> 


-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      __________________________________________________________
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index