Final answer:
The distribution of X, the number of eligible voters who prefer candidate a in a sample of 12, can be approximated by a binomial distribution. The marginal distribution for the number of voters who prefer candidate a in the sample can be calculated using the binomial probability formula.
Step-by-step explanation:
a) The distribution of X, the number of eligible voters who prefer candidate a in a sample of 12, can be approximated by a binomial distribution with parameters n=12 and p=0.4, where n is the sample size and p is the probability of success (i.e., the probability that an eligible voter prefers candidate a).
b) To find the marginal distribution for the number of voters who prefer candidate a in the sample, we can use the binomial probability formula for each possible outcome.
The probabilities for each outcome can be calculated using the binomial probability formula: P(X=k) = nCk * p^k * (1-p)^(n-k), where nCk is the number of combinations of n things taken k at a time.
c) The marginal joint probability mass function (pmf) for the number of voters who prefer candidates a and b in the sample can be calculated by multiplying the individual probabilities of each outcome. For example, P(X=6 and Y=2) = P(X=6) * P(Y=2) = P(X=6) * P(X=2) = (nC6 * p^6 * (1-p)^(n-6)) * (nC2 * p^2 * (1-p)^(n-2)).
d) The conditional joint distribution for the number of voters who prefer candidates a and b in the sample, given that 5 voters have no preference, can be found by considering only the remaining 7 voters. We can calculate the conditional joint probabilities using the same method as in part c.