Matlab's binoinv equivalent in Python -


is there python equivalent of binoinv matlab function? new data analysis , don't have experience in domain. helpful if can me out.

you have functionality in scipy.stats.binom:

  • matlab:

    >> x = binoinv([.3 .7 .9], 100, .25) ans =     23    27    31 
  • python:

    >>> scipy.stats import binom >>> x = binom.ppf([.3, .7, .9], 100, .25) >>> print(x) [ 23.  27.  31.] 

Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -