# Mice for julia

**URL:** <https://discourse.julialang.org/t/mice-for-julia/60355>\
**Category:** Statistics\
**Tags:** question, package, data\
**Created:** [May 1, 2021, 3:31am UTC](https://discourse.julialang.org/t/mice-for-julia/60355 "2021-05-01T03:31:18Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![brett\_knoss](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/brett_knoss/32/13050_2.png) [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Post date:** [May 1, 2021, 3:31am UTC](https://discourse.julialang.org/t/mice-for-julia/60355/1 "2021-05-01T03:31:18Z")

</div>

is there a Julia version of this R package [Multivariate Imputation by Chained Equations • mice](https://amices.org/mice/) or another package that is usable for Chained imputation in Julia?

---

<div class="post-metadata">

**Author:** ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Post date:** [May 1, 2021, 5:00pm UTC](https://discourse.julialang.org/t/mice-for-julia/60355/2 "2021-05-01T17:00:39Z")

</div>

Have you checked [Impute.jl](https://github.com/invenia/Impute.jl) out?

---

<div class="post-metadata">

**Author:** ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Post date:** [May 1, 2021, 7:17pm UTC](https://discourse.julialang.org/t/mice-for-julia/60355/3 "2021-05-01T19:17:57Z")

</div>

Not the same method, but for imputation of continuous variables by means of GMM/EM algorithm there is also [predictMissing](https://sylvaticus.github.io/BetaML.jl/stable/Clustering.html#BetaML.Clustering.predictMissing) from BetaML.jl

---

<div class="post-metadata">

**Author:** ![brett\_knoss](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/brett_knoss/32/13050_2.png) [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Post date:** [May 1, 2021, 7:23pm UTC](https://discourse.julialang.org/t/mice-for-julia/60355/4 "2021-05-01T19:23:22Z")

</div>

I found a few, most Bayesian packages seem to have something call Hamiton Monte Carlo  
or MarkovChainMonteCarlo

---

<div class="post-metadata">

**Author:** ![jacobusmmsmit](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jacobusmmsmit/32/217669_2.png) [@jacobusmmsmit](https://discourse.julialang.org/u/jacobusmmsmit)\
**Post date:** [May 1, 2021, 7:25pm UTC](https://discourse.julialang.org/t/mice-for-julia/60355/5 "2021-05-01T19:25:39Z")

</div>

There is [this](https://github.com/Hasnep/MICE.jl), but I’m not sure if it’s in active development anymore, nor how fully fleshed out it was.

---

<div class="post-metadata">

**Author:** ![brett\_knoss](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/brett_knoss/32/13050_2.png) [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Post date:** [May 1, 2021, 7:28pm UTC](https://discourse.julialang.org/t/mice-for-julia/60355/6 "2021-05-01T19:28:55Z")

</div>

Looks like 4 months ago and no active version. Right now I’m more concerned with getting Turing or BAT to work

---

<div class="post-metadata">

**Author:** ![Juan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/juan/32/7657_2.png) [@Juan](https://discourse.julialang.org/u/Juan)\
**Post date:** [May 1, 2021, 7:53pm UTC](https://discourse.julialang.org/t/mice-for-julia/60355/7 "2021-05-01T19:53:46Z")

</div>

I asked it a long time ago but there is nothing yet.

> [@How to do multiple imputation on Julia?](https://discourse.julialang.org/t/how-to-do-multiple-imputation-on-julia/17713):
>
> I’ve found the package Impute.jl but it seems it’s only able to use these simple methods: drop - remove missing locf - last observation carried forward nocb - next observation carried backward interp - linear interpolation of values in vector fill - replace with a specific value or a function which returns a value given the existing vector with missing values dropped. How can I do multiple imputation when I have several variables or I want to use more complex methods, for example using: fully…

---

<div class="post-metadata">

**Author:** ![brett\_knoss](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/brett_knoss/32/13050_2.png) [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Post date:** [May 1, 2021, 8:12pm UTC](https://discourse.julialang.org/t/mice-for-julia/60355/8 "2021-05-01T20:12:41Z")

</div>

BayesTesting.jl looked like cool code, and the creator explained it at 2018 JulaCon, but now it looks abandoned, and the clone doesn’t work.

---

<div class="post-metadata">

**Author:** ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Post date:** [May 2, 2021, 7:35am UTC](https://discourse.julialang.org/t/mice-for-julia/60355/9 "2021-05-02T07:35:34Z")

</div>

[BayesTesting.jl](https://github.com/tszanalytics/BayesTesting.jl)

---

<div class="post-metadata">

**Author:** ![brett\_knoss](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/brett_knoss/32/13050_2.png) [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Post date:** [June 1, 2021, 10:14pm UTC](https://discourse.julialang.org/t/mice-for-julia/60355/10 "2021-06-01T22:14:37Z")

</div>

I saw this, and it looked perfect for my needs, but it seems to be gone.

---

<div class="post-metadata">

**Author:** ![tom-metherell](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tom-metherell/32/203727_2.png) [@tom-metherell](https://discourse.julialang.org/u/tom-metherell)\
**Post date:** [November 9, 2023, 2:07pm UTC](https://discourse.julialang.org/t/mice-for-julia/60355/11 "2023-11-09T14:07:02Z")

</div>

Resurrecting this discussion to say: [Mice.jl](https://discourse.julialang.org/t/mice-jl-multiple-imputation-by-chained-equations-in-julia/105994)
