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

Re: st: pkcross vs. proc mixed


From   SR Millis <[email protected]>
To   [email protected]
Subject   Re: st: pkcross vs. proc mixed
Date   Sun, 3 Apr 2005 11:47:11 -0700 (PDT)

--- Joseph Coveney <[email protected]> wrote:
> Perhaps if you posted your SAS code for this
> example, someone might be able to 
> assist.  The dataset is balanced, so PROC MIXED
> (with the default REML method) 
> should be giving you the same result as PROC GLM and
> PROC ANOVA.


Thanks, Joseph. I've resolved the discrepancies. The
most obvious problem was a data entry error on my
part. When I corrected my error, I obtained the same
results. 

However, the pkcross output for "treatment effect" and
"period effect" seems to be the exactly converse of
the SAS output when using code by Senn ("cross-over
trials in clinical research") and by Brown & Prescott
(applied mixed models in medicine). That is, what is
"treatment" for Stata is "period" for S and B&P--and
what is "period" for Stata is "treatment" for S and
B&P.

SR Millis  
*
*   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