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 <>
Subject   Re: st: pkcross vs. proc mixed
Date   Sun, 3 Apr 2005 11:47:11 -0700 (PDT)

--- Joseph Coveney <> 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

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

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

SR Millis  
*   For searches and help try:

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