BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi everybody,
I'm trying to perform a two-way-ANOVA out of a dataset containing missing values. My principal approach is
Proc GLM data=...;
class group block;
model response=block group block*group;

How can I get the corresponding ANOVA-table after running PROC MI? All the examples I found so far seem to simply address the imputation process itself rather than the original problem. I'd like to compare my F- and p-values from the data with missing values to the results of the multiple imputation step. I'd be very glad if you could help me.

Thanks a lot for your efforts!

Best wishes,
Andy
2 REPLIES 2
ArtC
Rhodochrosite | Level 12
MI creates m data sets with imputed values. You then do the ANOVA m times. The followup procedure is MIANALYZE which is used to consolidate the m analyses into one.
lvm
Rhodochrosite | Level 12 lvm
Rhodochrosite | Level 12
You can run GLM with missing values. However, your GLM model is probably incorrect. If you have one observation of each level of group in each block, then block*group is the residual error term. Thus, your model is overparameterized. Take out the block*group term. If you have multiple independent replicates of each level of group in each block, then you can separate the interaction and the residual. But most people consider block, and especially block*group as random-effect terms. You have them as fixed-effect terms. You will need to read more about use of GLM for random effects before addressing the missing-value issue. If you do decide to explore block or the interaction as random effects, you should definitely consider use of PROC MIXED, especially with missing data, instead of use of GLM.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 1268 views
  • 0 likes
  • 3 in conversation