Name of the distribution $p^x(1-p)^{1-x}$?

1.3k Views Asked by At

We are given a random variable $X$ with PDF: \begin{align*} f(x ; p) &= p^x(1-p)^{1-x} \ , \\ \end{align*} where $0 \leq p \leq 1$ is the parameter and the support is $x \in \{0,1\}$.

Anyone knows what the name of this distribution is? And if so, could you please help me understand how I can infer to that? I only know of simple distributions such as uniform, gaussian...etc.



Update!

Thanks Minus One-Twelfth! I appreciate the quick answer, but I was hoping for some more elaboration on how I can infer to the distribution type.

1

There are 1 best solutions below

0
On BEST ANSWER

This is the Bernoulli distribution. Not sure what you mean by "infer to that".