[Jprogramming] Plot a binomial distribution

Rob Hodgkinson rhodgkin at me.com
Sat Mar 12 05:37:42 UTC 2016


Hi Devon, try ‘stats’ add-on in Package Manager…

   load 'stats/base/distribution'
   load 'plot'
   plot binomialdist 0.8 20
   plot binomialdist 0.2 20

HTH, Rob

> On 12 Mar 2016, at 4:09 PM, Devon McCormick <devonmcc at gmail.com> wrote:
> 
> Has anyone plotted a binomial distribution in J?  Either a histogram,
> point, or line plot?  I know there's something in R I can use but I'd like
> to have a way to do it as well or better in J.
> 
> Thanks,
> 
> Devon
> -- 
> 
> Devon McCormick, CFA
> 
> Quantitative Consultant
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm



More information about the Programming mailing list