Top "Probability" questions

Consider if your question would be better at stats.

How To Fit Multivariate Normal Distribution To Data In MATLAB?

I'm trying to fit a multivariate normal distribution to data that I collected, in order to take samples from it. …

matlab distribution probability normal-distribution data-fitting
Normalize data in R data.frame column

Suppose I have the following data: a <- data.frame(var1=letters,var2=runif(26)) Suppose I want to scale …

r dataframe probability distribution rescale
Why does this random value have a 25/75 distribution instead of 50/50?

Edit: So basically what I'm trying to write is a 1 bit hash for double. I want to map a double …

java random double bit-manipulation probability
How to choose keys from a python dictionary based on weighted probability?

I have a Python dictionary where keys represent some item and values represent some (normalized) weighting for said item. For …

python random probability
How to make a CDF from a histogram in MATLAB

I am trying to create function that takes a histogram and makes a CDF from it. However I cannot use …

matlab statistics histogram probability cdf
Unbiased random number generator using a biased one

You have a biased random number generator that produces a 1 with a probability p and 0 with a probability (1-p). You …

algorithm random probability clrs
Computing similarity between two lists

EDIT: as everyone is getting confused, I want to simplify my question. I have two ordered lists. Now, I just …

algorithm search statistics probability information-retrieval
R : function to generate a mixture distribution

I need to generate samples from a mixed distribution 40% samples come from Gaussian(mean=2,sd=8) 20% samples come from Cauchy(location=25,…

r probability markov-chains mcmc mixture-model
Random boolean with weight or bias

I need to generate some random booleans. However I need to be able to specify the probability of returning true. …

java random probability
Generating random integers within range with a probability distribution

I have a problem where I want to generate a set of random integer values between 1 and 5 inclusive using a …

java random probability poisson apache-commons-math