You can use: using HypothesisTests ci(BinomialTest(x, n))
Several methods of constructing binomial confidence intervals are implemented; see the docs <http://hypothesistestsjl.readthedocs.org/en/latest/api/ci.html#ci-binomial> . Simon On Wednesday, December 31, 2014 12:21:24 PM UTC-5, Jerry Xiong wrote: > > I want to calculate the 95% confidential intervals of the parameter p of a > binomial distribution, for a given x and n. I known that in MATLAT, it > could be got in the 2nd output of binofit(x,n,0.95) > Is there any way to do it in Julia, using Distributions.jl or any python > package? >