Imputing missing values for a RM-ANOVA
10 次查看(过去 30 天)
显示 更早的评论
I have 4 experimental groups/conditions and 5 measurement times for each group/condition. Each participant only took part in one of the 1 conditions. In total there are 27 participants and each condition has around 6 participants.
In my data set, several participants are missing a value during one of the 5 measurement times. So there are several cases (rows) where the participant does not have 5 measurement times but only 4 for example. The missing values are completely random and exist in all conditions.
My problem is the following. Because RM-ANOVA does case-wise deletion I end up with around 6 fewer cases which severely impacts my results. What I am wondering is if it is feasible to impute the missing data using a regression for example. And how many values can I impute before it is no longer feasible?
Many thanks!
4 个评论
Jeff
2023-3-15
As an alternative to imputation you could analyze the data using dummy variable regression. Set up dummy variables to code the conditions, time points, interaction, and subjects, and then assess SS's for each set of terms via regression model comparisons. You''ll know there are missing data--there are no rows with some of the possible combinations of dummy variables (e.g., time point 3 for subject 4 in group 1), but the regression algorithm doesn't need a complete dataset to produce least-squares estimates. A nice feature of this approach is that the df's will be computed "automatically" from the real data you do have, with no need to make df adjustments reflecting imputation.
Scott MacKenzie
2023-4-3
Provided the missing values represent a small percentage of all values and they are more-or-less randomly dispersed among the data set, a technique you can consider is to replace the missing values with the grand mean -- the mean of all the other values. Then, proceed with the ANOVA. The ANOVA will be more conservative than if the missing values were present. So, if the ANOVA yields any significant effects, they are likely valid (since they are on the conservative side).
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!