Imbalance or incomplete data, SASophylistic view [🇷 for BE/BA]
Dear Yung-yin, dear ElMaestro
May be the confusion comes from the meaning of imbalance.
Usually imbalance in the context of 2x2 cross-over means unequal number of subjects in the sequence groups.
But sometimes incomplete data are meaned, i.e. drop-outs with data for the first period. This is of course imbalance to number of data in periods.
In the first case Proc GLM and Proc MIXED give identical results.
Only in the case of missings Proc MIXED can recover some information from the subject with incomplete data and will then give different results to GLM.
Let us take an example: Lets use Helmuts data here on the forum.
This is a balanced study.
The results (without subject effects, wich are dealt different in GLM or mixed effects analysis and wich are seldom from interest):
Proc GLM
Proc MIXED
As you see, identical results.
Now let us deal with imbalance in sequence. Let's drop subject 24.
The results:
Proc GLM
Proc MIXED
As you see, again complete identical results.
And now with incomplete data. Set subject 24, period 2 to missing.
The results:
Proc GLM
Proc MIXED
Here we have differences in the results. Proc GLM gives the same confidence interval as with subject 24 dropped from the analysis, whereas Proc MIXED yields some result near the analysis of the complete data.
Now its up to you to figure out what the R-ophylistic analysis will give.
Hopefully the same
. Then this could be a validation example for BEAR.
❝ [...] the protocol has explicitly stated that proc glm would be used if the dataset was balanced, and that proc mixed would be used in case of imbalance.
May be the confusion comes from the meaning of imbalance.
Usually imbalance in the context of 2x2 cross-over means unequal number of subjects in the sequence groups.
But sometimes incomplete data are meaned, i.e. drop-outs with data for the first period. This is of course imbalance to number of data in periods.
In the first case Proc GLM and Proc MIXED give identical results.
Only in the case of missings Proc MIXED can recover some information from the subject with incomplete data and will then give different results to GLM.
Let us take an example: Lets use Helmuts data here on the forum.
This is a balanced study.
The results (without subject effects, wich are dealt different in GLM or mixed effects analysis and wich are seldom from interest):
Proc GLM
ANOVA typeIII F-tests
effect F-value df1 df2 p-value
Formul 0.38 1 22 0.5429
Period 0.08 1 22 0.7856
sequence 1.02 1 22 0.3239
90% Confidence intervals
point est. lower upper
0.9653 0.8750 1.0648
Proc MIXED
Fixed effects F-tests (type III)
effect F-value df1 df2 p-value
Formul 0.38 1 22 0.5429
Period 0.08 1 22 0.7856
sequence 1.02 1 22 0.3239
90% Confidence intervals
point est. lower upper
0.9653 0.8750 1.0648
As you see, identical results.
Now let us deal with imbalance in sequence. Let's drop subject 24.
The results:
Proc GLM
ANOVA F-tests
effect F-value df1 df2 p-value
Formul 0.26 1 21 0.6129
Period 0.12 1 21 0.7349
sequence 0.54 1 21 0.4725
90% Confidence intervals
point est. lower upper
0.9698 0.8753 1.0746
Proc MIXED
Fixed effects F-tests
effect F-value df1 df2 p-value
Formul 0.26 1 21 0.6129
Period 0.12 1 21 0.7349
sequence 0.54 1 21 0.4725
90% Confidence intervals
point est. lower upper
0.9698 0.8753 1.0746
As you see, again complete identical results.
And now with incomplete data. Set subject 24, period 2 to missing.
The results:
Proc GLM
ANOVA F-tests
effect F-value df1 df2 p-value
Formul 0.26 1 21 0.6129
Period 0.12 1 21 0.7349
sequence 1.09 1 22.17 0.4725
90% Confidence intervals
point est. lower upper
0.9698 0.8753 1.0746
Proc MIXED
Fixed effects F-tests
effect F-value df1 df2 p-value
Formul 0.38 1 21 0.5422
Period 0.06 1 21 0.8145
sequence 0.99 1 22 0.3308
90% Confidence intervals
point est. lower upper
0.9638 0.8698 1.0678
Here we have differences in the results. Proc GLM gives the same confidence interval as with subject 24 dropped from the analysis, whereas Proc MIXED yields some result near the analysis of the complete data.
Now its up to you to figure out what the R-ophylistic analysis will give.
Hopefully the same

—
Regards,
Detlew
Regards,
Detlew
Complete thread:
- bear v2.0.1 (upwards) cont'd yjlee168 2008-10-26 20:46 [🇷 for BE/BA]
- bear v2.0.1 (upwards) cont'd ElMaestro 2008-10-27 20:36
- bear v2.0.1 (upwards) cont'd yjlee168 2008-10-28 08:59
- bear v2.0.1 (upwards) cont'd ElMaestro 2008-10-28 09:49
- Imbalance or incomplete data, SASophylistic viewd_labes 2008-10-28 17:14
- Imbalance or incomplete data, SASophylistic view yjlee168 2008-10-29 07:36
- Incomplete cases d_labes 2008-10-29 09:24
- Incomplete cases yjlee168 2008-10-30 07:12
- Incomplete cases d_labes 2008-10-29 09:24
- Imbalance or incomplete data, SASophylistic view ElMaestro 2008-10-29 09:27
- Gold in discussion d_labes 2008-10-29 09:56
- Gold? Helmut 2008-10-29 13:03
- Gold in discussion d_labes 2008-10-29 09:56
- Imbalance or incomplete data, WinNonlin5.2.1 Helmut 2008-10-29 12:12
- Incomplete data, SAS9.2 d_labes 2008-10-29 16:38
- Missing values, imputation; separate study ElMaestro 2008-10-30 08:57
- Incomplete data, SAS9.2, DDF option residual d_labes 2008-10-30 15:54
- Never belief in any software you haven't written yourself Helmut 2008-10-30 16:30
- Incomplete data, SAS9.2 d_labes 2008-10-29 16:38
- Imbalance or incomplete data, SASophylistic view yjlee168 2008-11-07 05:12
- Imbalance or incomplete data, SASophylistic view d_labes 2008-11-11 08:35
- Imbalance or incomplete data, SASophylistic view yjlee168 2008-11-11 08:54
- Imbalance or incomplete data, SASophylistic view d_labes 2008-11-11 13:13
- Imbalance or incomplete data, SASophylistic view yjlee168 2008-11-11 13:35
- Imbalance or incomplete data, SASophylistic view d_labes 2008-11-11 14:02
- Imbalance or incomplete data, SASophylistic view yjlee168 2008-11-11 13:35
- Imbalance or incomplete data, SASophylistic view d_labes 2008-11-11 13:13
- Notification about new posts Helmut 2008-11-11 12:24
- Notification about new posts d_labes 2008-11-11 13:24
- 3 Prerequisites for biostatistics Helmut 2008-11-11 13:39
- 3 Prerequisites for biostatistics d_labes 2008-11-11 14:09
- 3 Prerequisites for biostatistics Helmut 2008-11-11 13:39
- Notification about new posts d_labes 2008-11-11 13:24
- Imbalance or incomplete data, SASophylistic view yjlee168 2008-11-11 08:54
- Imbalance or incomplete data, SASophylistic view d_labes 2008-11-11 08:35
- Imbalance or incomplete data, SASophylistic view yjlee168 2008-10-29 07:36
- Imbalance or incomplete data, SASophylistic viewd_labes 2008-10-28 17:14
- bear v2.0.1 (upwards) cont'd ElMaestro 2008-10-28 09:49
- bear v2.0.1 (upwards) cont'd yjlee168 2008-10-28 08:59
- bear v2.0.1 (upwards) cont'd ElMaestro 2008-10-27 20:36