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

st: reshape command


From   BISSERY Alvine <[email protected]>
To   [email protected]
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:[email protected]]
Date: mardi 8 avril 2003 20:11
�: [email protected]
Objet: st: Re: Pairwise comparisons repeated ANOVA


search prcomp.ado
----- Original Message ----- 
From: "Sven-Erik Johansson" <[email protected]>
To: <[email protected]>
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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index