Top "Probability" questions

Consider if your question would be better at stats.

Probability Mass Function of a Binomial Distribution in Python

I am using Python3 to compute the Probability Mass Function (PMF) of this wikipedia example: I tried to follow this …

python-3.x scipy probability function-call
Percentage Based Probability

I have this code snippet: Random rand = new Random(); int chance = rand.Next(1, 101); if (chance <= 25) // probability of 25% { Console.WriteLine("…

c# probability percentage
Multiple Output Neural Network

I have built my first neural network in python, and i've been playing around with a few datasets; it's going …

artificial-intelligence machine-learning neural-network probability
Probability Random Number Generator

Let's say I'm writing a simple luck game - each player presses Enter and the game assigns him a random …

c# random probability
How do I calculate the probability for a given quantile in R?

Using R, it is trivial to calculate the quantiles for given probabilities in a sampled distribution: x <- rnorm(1000, …

r probability
Shannon's Entropy calculation

I have a probability distribution that defines the probability of occurrence of n possible states. I would like to calculate …

matlab statistics probability information-theory
How to create a probability by a given percentage?

I'm trying to create a percentage-based probability for a game. E.g. if an item has a 45% chance of a …

c# probability probability-theory
Expected collisions for perfect 32bit crc

I'm trying to determine how my crc compares to an "ideal" 32bit crc. So I ran my crc over 1 million …

probability crc crc32 probability-theory
Optimal Algorithm for Winning Hangman

In the game Hangman, is it the case that a greedy letter-frequency algorithm is equivalent to a best-chance-of-winning algorithm? Is …

algorithm probability greedy game-theory
Probability of 64bit Hash Code Collisions

The book Numerical Recipes offers a method to calculate 64bit hash codes in order to reduce the number of collisions. …

algorithm math hash statistics probability