Hi Lee,
The information-theory namespace was pulled out a while back and became part of the Infer library,
http://github.com/aria42/infer.
But to your question, it appears, based on the source code, that the mutual information function takes a nested map of categories to counts, representing a joint distribution and a vector of two maps each representing the individual distributions.
(def X {:a 2, :b 1, :c 4, :d 3})
(def Y {:a 1 :b 4, :c 1, :d 2})
(def XY {:a {:a 0, :b 1, :1, :d 5}, :b {:a 4, :b 1, :c 1, :d 1}, :c {...}, :d {...}}) ;; top-level keys represent the X value.
(mutual-information XY [X Y])
I haven't actually tried it, but hopefully that will be enough to get you started.
David
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "Incanter" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
incanter+u...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>