Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: Reshaping long to wide data from complex experimental design


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Reshaping long to wide data from complex experimental design
Date   Fri, 30 Nov 2012 15:32:49 +0000

It is better to give a concrete example of what your data look like
and to show code you tried on which we can comment.

See http://www.stata.com/statalist/archive/2012-11/msg01106.html

for a recent example in which a similar question got nowhere because
too few concrete details were given.

See also the help for -reshape-, the manual entry and

FAQ     . . . . . . . . . . . . . . . . . . . . . . . .  Problems with reshape
        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  N. J. Cox
        8/05    I am having problems with the reshape command. Can
                you give further guidance?
                http://www.stata.com/support/faqs/data-management/
                problems-with-reshape/



Nick

On Fri, Nov 30, 2012 at 3:08 PM, Bastien Christian
<christian.bastien@univ-lorraine.fr> wrote:

> In order to analyse data with MANOVA for repeated measures, I would like to reshape my data from a long to a wide format.
>
> My design use 1 between factor (Group{2}) and 3 repeated factors (Trials(8), Distance(5), Phase(2)).
> In fact the between factors allows the counterbalancing of the Phase Conditions.
>
> Thus, each participant goes through 2 phases.
> In each phase 5 target positions are used, and for each position there is 8 trials.
> The task consists in positioning a virtual object as near as possible to the target. We measure the distance between the virtual object and the target.
>
> I tried to use the "reshape" command but failed.
> I just can't handle the syntax for 3 repeated measure.
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index