Closed juanfung closed 5 years ago
Points 1 and 2 addressed by df20d804fd34ad3fc3b00e118482636c26a9924c
Reviewed code in CausalMixtures/src
as well as scripts in Analyze
and did not find any other uses of Distributions.sample
. Closing for now.
In
causal-hedonic.jl
, line 54:f = Distributions.sample(["a", "b"], n)
throws an error.The code is supposed to sample
n
elements with replacement from["a", "b"]
.It appears this is now part of package
StatsBase
, so...CausalMixtures.jl
to load packageStatsBase
causal-hedonic.jl
Distributions.sample