Skip to main content
2 votes

what is probability density and distribution of X?

Will density become zero if we differentiate distribution w.r.t y? Yes, $\dfrac{\partial \mathsf P(X\leq x)}{\partial y} = 0$ because $\mathsf P(X\leq x)$ is not a function of $y$ . But... Why would ...
Graham Kemp's user avatar
1 vote
Accepted

Conditional probability for 3 random variables failing

Now, if I marginalize $x_0$ on the l.h.s., I get: $$ q(x_{t-1}|x_t) = \int dx_0 q(x_{t-1}|x_t,x_0) q(x_0) $$ No. Applying the Law of Total Probability under the condition of $x_t$ gives: $$q(x_{t-1}\...
Graham Kemp's user avatar
1 vote

Lumbroso "dice roller", correctness of the algorithm for 32 bit integers

(A) "Am I Correct ?" : Yes , there is a Corner-Case Bug in the C Code. Consider 32Bit numbers like this : $v=00000000000000000000000000000001$ $c=00000000000000000000000000000000$ $n=...
Prem's user avatar
  • 11.4k
1 vote

Lumbroso "dice roller", correctness of the algorithm for 32 bit integers

I agree the C algorithm is (probably) flawed. The author states the correctness of the program depends on the loop invariant "$c$ is uniformly distributed over $\{0, \dots, v-1\}$." Let us ...
msantama's user avatar
  • 1,203

Only top scored, non community-wiki answers of a minimum length are eligible