LSM for unbalanced sequences -SAS- [Regulatives / Guidelines]
Dear yicaoting,
Sorry but I can't reproduce your Error(neous) result utilizing SAS 9.2.
Using your data and your code (exactly as given above by you) all goes fine and I get for the LSM section:
So, what did you do here
Check your variables. The error occurred hints to a left hand variable in the model which has only missing values everywhere.
BTW: We had already several discussions here on unbalanced / incomplete data. See for instance this thread. But be warned: Rather lengthy and nitpicking
.
❝ I have tried to analysis this unequal sequences data in SAS and Stata, both were failed.
❝
❝ In SAS, I used the following code:
❝ ...
❝ It returned:
❝ ERROR: One or more variables are missing or freq or weight is zero on every observation.
❝ 182 quit;
Sorry but I can't reproduce your Error(neous) result utilizing SAS 9.2.
Using your data and your code (exactly as given above by you) all goes fine and I get for the LSM section:
Least Squares Means
H0:LSMean1=
logAUC LSMean2
formulation LSMEAN Pr > |t|
1 5.43564048 0.8623
2 5.42656865
logAUC
formulation LSMEAN 90% Confidence Limits
1 5.435640 5.371701 5.499580
2 5.426569 5.362629 5.490508
Least Squares Means for Effect formulation
Difference
Between 90% Confidence Limits for
i j Means LSMean(i)-LSMean(j)
1 2 0.009072 -0.081353 0.099496
So, what did you do here

Check your variables. The error occurred hints to a left hand variable in the model which has only missing values everywhere.
BTW: We had already several discussions here on unbalanced / incomplete data. See for instance this thread. But be warned: Rather lengthy and nitpicking

—
Regards,
Detlew
Regards,
Detlew
Complete thread:
- Least Square Means (LSM) for unequal sequence yicaoting 2011-10-03 14:37 [Regulatives / Guidelines]
- Least Square Means (LSM) for unequal sequence ElMaestro 2011-10-03 14:51
- Least Square Means (LSM) for unequal sequence yicaoting 2011-10-03 15:28
- Least Square Means (LSM) for unequal sequence ElMaestro 2011-10-03 15:36
- Least Square Means (LSM) for unequal sequence Helmut 2011-10-03 16:14
- Least Square Means (LSM) for unequal sequence ElMaestro 2011-10-03 20:10
- Least Square Means (LSM) for unequal sequence Pankaj Bhangale 2011-10-04 14:52
- Weighted Means? Helmut 2011-10-05 01:53
- Least Square Means (LSM) for unequal sequence yicaoting 2011-10-03 15:28
- LSM for unbalanced sequences -SAS-d_labes 2011-10-04 09:39
- LSM for unbalanced sequences -SAS- yicaoting 2011-10-04 19:37
- SE for unbalanced sequences SAS vs. WinNonlin Helmut 2011-10-05 01:01
- LS Means mean? d_labes 2011-10-05 12:45
- LS Means mean? ElMaestro 2011-10-05 13:23
- PHX/WNL vs. SAS Helmut 2011-10-08 02:21
- PHX/WNL vs. SAS Proc Mixed d_labes 2011-10-10 15:46
- PHX/WNL vs. SAS Proc Mixed Helmut 2011-10-10 16:30
- PHX/WNL vs. SAS Proc Mixed ElMaestro 2011-10-10 19:53
- PHX/WNL vs. SAS Proc Mixed Helmut 2011-10-10 16:30
- Real mixed effects in WNL, SAS, GLM or Mixed (1) yicaoting 2011-10-13 18:39
- Real mixed effects in WNL, SAS, GLM or Mixed (2) yicaoting 2011-10-13 18:52
- Real mixed effects in WNL, SAS, GLM or Mixed (3) yicaoting 2011-10-13 19:05
- Must admit I am lost ElMaestro 2011-10-14 00:02
- Must admit I am lost yicaoting 2011-10-14 06:30
- Must admit I am lost - edited ElMaestro 2011-10-14 13:23
- Must admit I am lost yicaoting 2011-10-14 06:30
- Must admit I am lost ElMaestro 2011-10-14 00:02
- PHX/WNL vs. SAS Proc Mixed d_labes 2011-10-10 15:46
- LSM for unbalanced sequences -SAS- yicaoting 2011-10-04 19:37
- Least Square Means (LSM) for unequal sequence ElMaestro 2011-10-03 14:51