d_labes
★★★

Berlin, Germany,
2013-04-10 11:30
(4813 d 17:52 ago)

Posting: # 10388
Views: 6,934
 

 MSE of partial replicate design [General Sta­tis­tics]

Dear All!

For some reasons I'm interested in the mse composed from the intra-subject variances of Test and Reference of the classical ANOVA used for crossover designs (same as for the 2x2x2 crossover).
For the full replicate (2x2x4) design Chow and Liu mention (without an elaborate explanation)
  mse = 1/2*(s2wT + s2wR)

For the partial replicate design (2x3x3) I have arrived with
  mse = 1/3*(s2wT + 2*s2wR)
mostly empirical based on simulations (classical subject data sims without a subject-by-formulation interaction in the statistical model).
Via these sims it could be verified that the formula for the full replicate design seems correct.

My questions are:
Does any body know a way to derive the formulas theoretically?
Or has anybody done simulations of the 2x3x3 design to verify my finding?
Or is that all bullshit since we have to assume s2wT = s2wR if we use ANOVA (homogeneous variances)?


Chow, Liu
"Design and Analysis of Bioavailability and Bioequivalence Studies"
Third edition, Chapter 9.4
Chapman & Hall, Boca Raton 2009

Regards,

Detlew
ElMaestro
★★★

Denmark,
2013-04-10 11:51
(4813 d 17:31 ago)

@ d_labes
Posting: # 10389
Views: 5,652
 

 MSE of partial replicate design

Hi d_labes,


❝ For the full replicate (2x2x4) design Chow and Liu mention (without an elaborate explanation)

  mse = 1/2*(s2wT + s2wR)


❝ For the partial replicate design (2x3x3) I have arrived with

  mse = 1/3*(s2wT + 2*s2wR)

❝ mostly empirical based on simulations (classical subject data sims without a subject-by-formulation interaction in the statistical model).

❝ Via these sims it could be verified that the formula for the full replicate design seems correct.


Did you analyse with a mixed model or with a (g)lm?
And if you did a mixed model, did you simulate with balanced sequences without missing period data?

❝ My questions are:

❝ Does any body know a way to derive the formulas theoretically?


In a mixed model -if that's you case cf above- you have a V where the diagonal is either
a. s2wT+s2bT or s2wT+s2bT (full repl.)
b. s2wT or s2wR+s2bR (partial repl.)
The within's are clasically referred to as the errors. Your formula corresponds to setting the average of all those error-sigma2's equal to the mean squared error (case of no missing periods). It is more like a definition - the mean squared error is in essence the mean/average of the squared errors, right?

❝ Or has anybody done simulations of the 2x3x3 design to verify my finding?

❝ Or is that all bullshit since we have to assume s2wT = s2wR if we use ANOVA (homogeneous variances)?

ANOVA requires an lm; I am not sure I get your context. Can you explain?

Pass or fail!
ElMaestro
d_labes
★★★

Berlin, Germany,
2013-04-10 12:28
(4813 d 16:54 ago)

@ ElMaestro
Posting: # 10392
Views: 5,828
 

 MSE of partial replicate design

Dear ElMaestro,

Thanks for the quick answer.

I simulated with a mixed model, but without subject-by-formulation interaction. Without missings. With balanced sequence groups. I guess that you know for what end :-D.

I analyzed with simple ANOVA all effects fixed (effects: treatment, period, subject for simplicity since the sequence doesn't change the mse) as the Mighty Oracle demands us to do so :crying:.

❝ In a mixed model -if that's you case cf above- you have a V where the diagonal is either

❝ a. s2wT+s2bT or s2wT+s2bT (full repl.)

❝ b. s2wT or s2wR+s2bR (partial repl.)


:confused:

I have a V matrix (example subject in sequence TRR, i.e. 2x3x3 design)
s2b+s2wT  s2b       s2b
s2b       s2b+s2wR  s2b
s2b       s2b       s2b+s2wR

where s2b is the common between-subject variance.

Regards,

Detlew
ElMaestro
★★★

Denmark,
2013-04-10 12:38
(4813 d 16:44 ago)

@ d_labes
Posting: # 10395
Views: 5,632
 

 MSE of partial replicate design

Hi again d_labes,

❝ ❝ In a mixed model -if that's you case cf above- you have a V where the diagonal is either

❝ ❝ a. s2wT+s2bT or s2wT+s2bT (full repl.)

❝ ❝ b. s2wT or s2wR+s2bR (partial repl.)


:confused:

See below.


❝ I have a V matrix (example subject in sequence TRR, i.e. 2x3x3 design)

s2b+s2wT  s2b       s2b

❝ s2b       s2b+s2wR  s2b

❝ s2b       s2b       s2b+s2wR

❝ where s2b is the common between-subject variance.


Sorry you're right there's something I left out. For T the error is the total var. When equal between's can be assumed for T and R you get s2b+s2wT and not s2wT.
The errors are the withins on the diagonal of V; just take the average to get the mean squared error.

Or did you mean something entirely different?

Btw, shouldn't it be zero in cell (2,1), (3,1), (1,2) and (1,3) ?
I am not sure you'd co-vary a T-observation with an R-observation.

Pass or fail!
ElMaestro
d_labes
★★★

Berlin, Germany,
2013-04-10 13:15
(4813 d 16:07 ago)

@ ElMaestro
Posting: # 10398
Views: 5,652
 

 MSE of partial replicate design

Hi again ElMaestro,

❝ The errors are the withins on the diagonal of V; just take the average to get the mean squared error.


Do you have some references for that or some theoretical argument?
Or is that from the category "It is obvious that ..."?
All I have seen up to now assume s2wT=s2wR=s2e and argue then.

❝ Btw, shouldn't it be zero in cell (2,1), (3,1), (1,2) and (1,3) ?

❝ I am not sure you'd co-vary a T-observation with an R-observation.


Frankly: no. A model without s2D is derived from the full mixed model we have just recently discussed here assuming rho=1 and s2bT=s2bR=s2b. Only then s2D = s2bT + s2bR − 2*rho*sbT*sbR is zero.

You me be right (additionally removing the s2b) if we use an all effects fixed model. Then we have only the errors, distributed under T with s2wT and under R with s2wR.

Regards,

Detlew
ElMaestro
★★★

Denmark,
2013-04-11 02:07
(4813 d 03:16 ago)

@ d_labes
Posting: # 10402
Views: 5,629
 

 MSE of partial replicate design

Hello d_labes,

❝ ❝ The errors are the withins on the diagonal of V; just take the average to get the mean squared error.


❝ Do you have some references for that or some theoretical argument?

❝ Or is that from the category "It is obvious that ..."?

❝ All I have seen up to now assume s2wT=s2wR=s2e and argue then.


When you do a linear model you implicitly model the error distribution via a V matrix where there is just the single sigma (intra or pseudo-intra) squared on the diagonal and zero elsewhere. It is like V=ZGZt+R where you just forget about G because there's no other random term and where Ris just sigma2*I. As I see it, this why a fixed effects model for BE with subject, sequence, treatment and period as fixed factors give the same result as a mixed model with plain subject as the error term (1|Subject). Minimisation of sums-of-squares is just a shortcut to the (restricted) maximum likelihood solution when there is just that one single error term in V. So I would say "It is obvious that..." and pretend I know, although to be frank I am just an uninformed and miserable amateur and when you scratch the paint a bit it quickly becomes ugly.

Pass or fail!
ElMaestro
UA Flag
Activity
 Admin contact
23,653 posts in 4,991 threads, 1,570 registered users;
164 visitors (0 registered, 164 guests [including 33 identified bots]).
Forum time: 05:23 CEST (Europe/Vienna)

The idea is to try and give all the information to help others
to judge the value of your contribution;
not just the information that leads to judgment
in one particular direction or another.    Richard Feynman

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