You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, is there any intention in adding mice comparability? I wanted to have a table for the pooled regression, so I wrote an extractor function for the "mira" object, which is the output after the new imputed datasets are fitted onto the original data. The pooling occurs in the extraction.
It seems to work fine, but I wasn't sure if this was the best way, especially mice has some many objects, and it's not necessarily clear what to do if you want all the calculated regressions instead. Is there anymore development here?
The text was updated successfully, but these errors were encountered:
Thanks so much for your contribution! The texreg package currently uses a workaround to support mice: If you try it on the pooled object (e.g., screenreg(pool(airquality_fitted)), it will use the definitions from the broom package to parse the mipo object and present it as a table. It works, but comes at a price: The GOF statistics have different names from the ones usually used in texreg, which means you have to rename them if you want to display multiple models together. So I'd prefer to see an implementation directly in texreg. Your code seems to work, but I am wondering if it wouldn't make more sense to use those pooled mipo objects rather than mira objects because it is the pooled model we are interested in, after all. If you are interested in making this happen, I would love to see a pull request for a revised version of the above for mipo objects, ideally including the roxygen2 help page documentation as in the remaining extract.R file and ideally with a unit test case using testthat (see here for examples).
Hi, is there any intention in adding mice comparability? I wanted to have a table for the pooled regression, so I wrote an extractor function for the "mira" object, which is the output after the new imputed datasets are fitted onto the original data. The pooling occurs in the extraction.
It seems to work fine, but I wasn't sure if this was the best way, especially mice has some many objects, and it's not necessarily clear what to do if you want all the calculated regressions instead. Is there anymore development here?
The text was updated successfully, but these errors were encountered: