## MSE calculation from CI of 3x3x3 study [General Statistics]

Dear John

Not interested in the opinion of other members?

The common formula for the 90% CIs of cross-over studies is (in the log domain):

n

Under the assumption of balanced designs the above formula can be given in terms of total number of subjects (N=sum(n

with b

Here the design characteristics for your question (tmt x seq x period):

The latter design is 6-sequence williams design for 3 treatments and 3 periods.

Insertion of the 2x2x2 characteristics will give the formulas in Helmut's lectures.

With a little algebra you should be able to derive the MSE formula for your case . But you could save the effort for better things. Use the function

But in the moment it works only for balanced designs i.e. same number of subjects in sequence groups. Therefore it needs only the total number of subjects under study. This is in most cases accessible from literature while the number of subjects in sequences is usually not given.

BTW: The red emphasis above shows where the great admin of this forum and itinerant preacher in the matter of BE errs if we talk about alpha=0.1 i.e 90% CIs.

❝ Hi Helmut,

Not interested in the opinion of other members?

The common formula for the 90% CIs of cross-over studies is (in the log domain):

` [lower, upper] = point ± tval(1-alpha/2, df)*sqrt(MSE)*sqrt(b`_{k(ni)}*sum(1/n_{i}))

n

_{i}are the number of subjects in the sequence groups, b_{k(ni)}is the so called design constant (here if n_{i}are given) and df the degrees of freedom from the cross-over ANOVA.Under the assumption of balanced designs the above formula can be given in terms of total number of subjects (N=sum(n

_{i})):` [lower, upper] = point + tval(1-alpha/2, df)*sqrt(MSE)*sqrt(b`_{k}/N)

with b

_{k}the design constant in terms of total number if subjects.Here the design characteristics for your question (tmt x seq x period):

`design df b`_{k(ni)} b_{k}

2x2x2 n1+n2-2 1/2 2

3x3x3 2*(n1+n2+n3)-4 2/9 2

3x6x3 2*(n1+n2+n3+n4+n5+n6)-4 1/18 2

The latter design is 6-sequence williams design for 3 treatments and 3 periods.

Insertion of the 2x2x2 characteristics will give the formulas in Helmut's lectures.

With a little algebra you should be able to derive the MSE formula for your case . But you could save the effort for better things. Use the function

`CVfromCI()`

from the R-package PowerTOST which has some more designs you eventually need.But in the moment it works only for balanced designs i.e. same number of subjects in sequence groups. Therefore it needs only the total number of subjects under study. This is in most cases accessible from literature while the number of subjects in sequences is usually not given.

BTW: The red emphasis above shows where the great admin of this forum and itinerant preacher in the matter of BE errs if we talk about alpha=0.1 i.e 90% CIs.

—

Regards,

Detlew

Regards,

Detlew

### Complete thread:

- MSE calculation jag009 2012-09-13 17:39 [General Statistics]
- MSE calculation from CI of 3x3x3 studyd_labes 2012-09-14 09:43
- Oops! Helmut 2012-09-14 14:31
- Oops? One or two-tailed? ElMaestro 2012-09-14 15:48
- One or two-tailed? d_labes 2012-09-17 09:57
- One or two-tailed? Astea 2015-02-05 01:20
- Sample size, alpha, beta, beta/2 and that all d_labes 2015-02-05 09:31
- Sample size, alpha, beta, beta/2 and that all Astea 2015-02-07 12:53
- Sample size, alpha, beta, beta/2 and that all d_labes 2015-02-07 16:22

- Sample size, alpha, beta, beta/2 and that all Astea 2015-02-07 12:53

- Sample size, alpha, beta, beta/2 and that all d_labes 2015-02-05 09:31

- One or two-tailed? Astea 2015-02-05 01:20

- One or two-tailed? d_labes 2012-09-17 09:57

- Oops? One or two-tailed? ElMaestro 2012-09-14 15:48
- MSE calculation from CI of 3x3x3 study jag009 2012-09-24 20:12
- MSE calculation from CI of 4x4x4 study d_labes 2012-09-25 10:40
- MSE calculation from CI of 4x4x4 study jag009 2012-09-25 14:59

- MSE calculation from CI of 3x3x3 study ElMaestro 2015-02-05 12:57

- MSE calculation from CI of 4x4x4 study d_labes 2012-09-25 10:40

- Oops! Helmut 2012-09-14 14:31

- MSE calculation from CI of 3x3x3 studyd_labes 2012-09-14 09:43