Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: reshape command


From   BISSERY Alvine <Alvine.BISSERY@hop.egp.ap-hop-paris.fr>
To   statalist@hsphsun2.harvard.edu
Subject   st: reshape command
Date   Wed, 09 Apr 2003 10:26:24 +0200

Dear all, 

I'm using the -reshape- command to convert data from long to wide

My data are:

No patient	Période	P créat	PCAt
1	             0	            75.0	           2.31
2	             0                 74               2.29
3	             0	           101.8   	  2.31
1	             1	            108.9	  2.32
2	             1	             91.9	           2.23
3	             1	            78.1      	 2.25
1	             2	            75.0	           2.25
2	             2	            95.0	           2.23
3	             2	            86.0	           2.21

-reshape wide Pcreat Pcat , i (No patient) j(Période)-

gives:

No patient	Pcreat0    Pcat0   Pcreat1    Pcat1   Pcreat2    Pcat2
1
2
3

Is there an option to obtain data like this:

No patient	Pcreat0    Pcreat1  Pcreat2   Pcat0       Pcat1       Pcat2
1
2
3

?

Thank you

Alvine

-----Message d'origine-----
De: george hoffman [mailto:ghoffman@mcw.edu]
Date: mardi 8 avril 2003 20:11
À: statalist@hsphsun2.harvard.edu
Objet: st: Re: Pairwise comparisons repeated ANOVA


search prcomp.ado
----- Original Message ----- 
From: "Sven-Erik Johansson" <sven-erik.johansson@klinvet.ki.se>
To: <statalist@hsphsun2.harvard.edu>
Sent: Tuesday, April 08, 2003 10:53 AM
Subject: st: Pairwise comparisons repeated ANOVA


> Is there any option or STB available for pairwise comparisons in an oneway
> ANOVA with repeated measurements?
> With kindly regards
> sven-erik johansson
>
> Sven-Erik Johansson
> Allmänmedicin Stockholm
> Karolinska Institutet
> Alfred Nobels allé 12
> SE-14183 Huddinge
> Sweden
> Tel +46 8 52488723
> Fax +46 8 52488706
> Mobile 0708 583505
> http://www.klinvet.ki.se/am/allmanmedicin.htm
>
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index