Re: [R] Cross-over Data with Kenward-Roger correction

2015-06-10 Thread peter dalgaard
On 08 Jun 2015, at 22:59 , Ben Bolker wrote: > As a statistical point, I don't understand why you can't just > do a paired t-test on these data?? It's a cross-over trial, so you need to account for the period effect. However, a standard way of treating it is by to calculate period differences

Re: [R] Cross-over Data with Kenward-Roger correction

2015-06-09 Thread Ben Bolker
knouri yahoo.com> writes: > > Dear all:for the folowing data, a two-period, two treatment (A=1 vs. B=2) > cross-over is fitted > using the folowing SAS code.  > data one; [snip] > run; > proc mixed data=one method=reml; > class Sbj Per Trt; >    model PEF = Per Trt /ddfm=kr; >    repeated Trt

[R] Cross-over Data with Kenward-Roger correction

2015-06-07 Thread knouri
Dear all:for the folowing data, a two-period, two treatment (A=1 vs. B=2) cross-over is fitted using the folowing SAS code.  data one; input  Sbj  Seq  Per  Trt  PEF; cards; 1  1   1   1   310 1  1   2   2   270 4  1   1   1   310 4  1   2   2   260 6  1   1   1   370 6  1