probability-theory

What is the difference between causal models and directed graphical models?

What is the difference between causal models and directed graphical models? or: What is the difference between causal relationships and directed probabilistic relationships? or, even better: What would you put in the interface of a DirectedProbabilisticModel class, and what in a CausalModel class? Would one inherit from the other? ...

Computationally simple Pseudo-Gaussian Distribution with varying mean and standard deviation?

This picture from wikipedia has a nice example of the sort of functions I'd ideally like to generate http://en.wikipedia.org/wiki/File:Normal_Distribution_PDF.svg Right now I'm using the Irwin-Hall Distribution, which is more or less a Polynomial approximation of the Gaussian distribution...basically, you use uniform random number gene...

how to implement non uniform probability distribution?

I am trying to implement non-uniform probability distribution in genetic algorithm. In the implementation of genetic program, I have an experiment which has 3 outcomes, where each outcome has different probabilities. Let say, probablity of one outcome is 0.85, other is 0.01 and last one is 0.14? P.S: i recently came to know that it is...

Probability of Outcomes Algorithm

I have a probability problem, which I need to simulate in a reasonable amount of time. In simplified form, I have 30 unfair coins each with a different known probability. I then want to ask things like "what is the probability that exactly 12 will be heads?", or "what is the probability that AT LEAST 5 will be tails?". I know basic pr...

How to obtain a value based on a certain probability

I have some functions which generate double, float, short, long random values. I have another function to which I pass the datatype and which should return a random value. Now I need to choose in that function the return value based on the passed datatype. For example, if I pass float, I need: the probability that the return is a float ...

Probability of occuring of An infinitely often

IF probability of occurance of A , infinitely often is 0, does it mean probability of occurance of A complement , infinitely often is 1??? ...

Expected collisions for perfect 32bit crc

Hi, I'm trying to determine how my crc compares to an "ideal" 32bit crc. So I ran my crc over 1 million completely random samples of data and collected the amount of collisions, I want to compare this number to the number of collisions I could expect from the "ideal" crc. Does anyone know how to calculate the expected collision for a...

Probability book or video for purely analytical brain

That's it. I suck at probability theory. I simply don't seem to get it. The thing is, I have strongly analytical brain, but every single book that I ran to, taught probability using synthesis and not analysis. Since probability theory is crucial for every programmer and I want to improve, could you tell me the book or video lecture that...

Probability of rolling a 5 on second roll...

Ok so not really a programming question but not sure where it would go on the stack network... Dice has 6 sides so rolling a 5 will be a 1/6 (16.6%) chance. If the dice roll is a 2, does that mean the changes of rolling a 5 now have gone up, and that the changes of rolling a 2 have gone down? Since the odds of rolling two 2's in a row ...