Chi square test with effect size measure in multiple imputed datasets #355
Replies: 7 comments
-
Your question is rather general, so my answer is also generic. If you have a parameter of scientific interest (e.g. an effect estimate), pool that by pool() or pool.scaler(). If you don't have a parameter, but only a statistic (chi-square, p-value) use |
Beta Was this translation helpful? Give feedback.
-
Thank you again. I am sorry for re-opening this but I have been trying to pool this out all this time with no success. Sorry again. I am trying to use pool() function to get the Cramer's V effect size measure comparing proportions across three groups. In a single imputed dataset I would use cramerV() from rcompanion package. Following ?pool, I applied this function using with() as below:
This gives me the 10 estimates of cramer's V for each imputed dataset. However, when I try to use pool() to get a single estimate, I get the following errors: Error: $ operator is invalid for atomic vectors The second is repeated 10 times. I am not including any "$" in my function, so I am not sure why it says that. Do you know what could that be? |
Beta Was this translation helpful? Give feedback.
-
Apparently, As a quick fix, take the average. If the individual CramerV's vary a lot, you know that the missing data mechanism may have a big impact on the measure. |
Beta Was this translation helpful? Give feedback.
-
Ok, thanks a lot! THANKS AGAIN =) |
Beta Was this translation helpful? Give feedback.
-
Hello, once more! I am sorry to write again, but I am having a similar problem trying to compute D2. Since
I get this output: Error: Problem with I guess something similar is happening with the function Thank you again and apologize once more. Hopefully next time I use MI I would need less help ;) |
Beta Was this translation helpful? Give feedback.
-
Same problem. The
Sorry, no easy solution here. |
Beta Was this translation helpful? Give feedback.
-
Thanks again, anyway! |
Beta Was this translation helpful? Give feedback.
-
Hi and thank you once more!
I need to perform a chi square test to compare frequencies across three groups, with a corresponding effect size measure in the multiple imputed datasets. All I found about how to pool the results in multiple imputed datasets for chi square test is here (https://bookdown.org/mwheymans/bookmi/data-analysis-after-multiple-imputation.html)
It looks like I need to use miceadds::micombine.chisquare and manually insert the values with c(). But I am confused about the order in which I should include the values and how to let R know that I am comparing three groups across 10 imputed datasets. I am also lost in terms of how can I include a Cramer’s V estimation.
THANKS AGAIN
Beta Was this translation helpful? Give feedback.
All reactions