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.
This is the Bernoulli distribution. Not sure what you mean by "infer to that".