2
$\begingroup$

I was wondering... Is there any formula for a two dimensional discrete uniform distribution? I've googled a little bit but I don't seem to find anything... I hope that somebody can help!

$\endgroup$

1 Answer 1

4
$\begingroup$

I assume you have an $m \times n$ grid of points and you want a PMF (probability mass function) which gives the probability of drawing a certain point. Since you have $m\cdot n$ points in total and you want the mass function to be uniform that means for each $i \in \{1,\dots,m \}$ and $j \in \{1,\dots,n \}$,

$$ P(X = x_{i,j}) = \frac{1}{m \cdot n}. $$

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.