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

c# - Update a combobox from a presenter (MVP) -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -