MathStudio  Blog  Share  Manual  Forums  Support 
BinomialCDF doesn't evaluate over lists
  • I expected the BinomialCDF to evaluate cumulative values if given a list, but it just returns the query. I don't want to plot it, I just want to solve it. Example: BinomialCDF(20,0.8,[19,20,21]). Why doesn't this work?
  • Hi,

    BinomialCdf doesn't work with lists, you can do it like this:
    Scroll(x,19,21,1)
    BinomialCdf(20,0.8,x)

    or like this:
    y=List(3)
    loop(i,19,21,1)
    y(i-18)=BinomialCdf(20,0.8,i)
    end
    return(y)

    Francisco.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

In this Discussion