I am currently studying Statistical Inference class on Coursera. In one of the assignments, the following question comes up.
Let x=0$x=0$ represent a | 'heads' outcome and x=1$x=1$ represent a 'tails' outcome of a coin toss. If p$p$ is the | probability of 'heads' which of the following represents the PMF of the coin toss? The | variable x is either 0 (heads) or 1 (tails).
1: (p^(1-x))(1-p)^x 2: (p^x)(1-p)^(1-x)$p^{1-x}(1-p)^x$
2: $p^x(1-p)^{1-x}$
while solving it gave hint to choose option when head exponent is 1 so correct option was 1
if it said p is probability of tail which following represent the PMF of the coin toss will answer change
pmf ---- is it for independent event only