Top "Probability" questions

Consider if your question would be better at stats.

How to compute the probability of a value given a list of samples from a distribution in Python?

Not sure if this belongs in statistics, but I am trying to use Python to achieve this. I essentially just …

python matplotlib scipy probability probability-density
Fitting distributions, goodness of fit, p-value. Is it possible to do this with Scipy (Python)?

INTRODUCTION: I'm a bioinformatician. In my analysis which I perform on all human genes (about 20 000) I search for a particular …

python numpy scipy statistics probability
Determining probability mass function of random variable

If we have a discrete random variable x and the data pertaining to it in X(n), how in matlab …

matlab probability discrete-space
Calculating Probability of a Random Variable in a Distribution in Python

Given a mean and standard-deviation defining a normal distribution, how would you calculate the following probabilities in pure-Python (i.e. …

python math probability probability-theory
How do I simulate biased die in python?

I want to simulate N-sided biased die? def roll(N,bias): '''this function rolls N dimensional die with biasing provided''' # …

python numpy probability
Fastest primality test

Could you suggest a fast, deterministic method that is usable in practice, for testing if a large number is prime …

algorithm math probability primes
Probability of hash collision

I am looking for some precise math on the likelihood of collisions for MD5, SHA1, and SHA256 based on the …

math hash probability sha birthday-paradox
What is the probability of collision with a 6 digit random alphanumeric code?

I'm using the following perl code to generate random alphanumeric strings (uppercase letters and numbers, only) to use as unique …

mysql perl hash probability alphanumeric
How to simulate bimodal distribution?

I have the following code to generate bimodal distribution but when I graph the histogram. I don't see the 2 modes. …

r statistics probability distribution
Is this a good or bad 'simulation' for Monty Hall? How come?

Through trying to explain the Monty Hall problem to a friend during class yesterday, we ended up coding it in …

python language-agnostic probability