Inter and Total Variability [Power / Sample Size]

posted by ElMaestro  – Denmark, 2011-09-18 16:14 (5388 d 23:00 ago) – Posting: # 7368
Views: 15,806

Hi Ben,

❝ 2. I'm trying to get the degrees of freedom for the following design: one single group, fixed sequence, uncontrolled with respect to time effects (intra-subject design), say n subjects receive k days treatment A, then another k days they receive treatment A and B. More mathematically

❝ log(response) = overall mean + subject + trt effect + error.


❝ Now, consider the following approach. We have 2n values, we lose n-1 df because of the subjects, 2-1 df because of treatment effects and the "usual" -1 because of the overall mean, hence the degrees of freedom is n-1.

❝ I'm wondering whether this is correct or not. Let's say we use the same approach for a 2x2 cross-over design, that is,

❝ log(response) = overall mean + sequence + subject + period + trt effect + error,


❝ then we end up with (assume n1 = n2 = n/2) 2n - (n-1) - (2-1) - (2-1) - (2-1) - 1 = n-3.

❝ But we should have n-2 (don't we?) and hence the approach may not be correct at all...?


I think....
In the 2,2,2-BE example you know the sequence if you know the subject's period and treatment coding of the model matrix (or vice versa). Thus you need to add one df in the equation above to get n-2.
For your model, assuming you code A and A+B as two individual factor levels, you might say if there's a tick for A then there's no tick for A+B and vice versa, so loss of 2-1 df here. Then df=n-1 looks right to me.

Pass or fail!
ElMaestro

Complete thread:

UA Flag
Activity
 Admin contact
23,655 posts in 4,993 threads, 1,570 registered users;
177 visitors (0 registered, 177 guests [including 73 identified bots]).
Forum time: 15:14 CEST (Europe/Vienna)

I have finally come to the konklusion
that a good reliable set ov bowels
iz worth more to a man
than enny quantity of brains.    Josh Billings

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5