The mean of a binomial distribution is
x, and the variance is 5 .
We know that the mean,
μ=np=x. This means
n times
p is
x.
The formula for variance is
σ2=np(1−p)=5. This means
n times
p times
(1−p) is 5 .
From the mean formula,
p=nx​.
Substitute
p=nx​ into the variance formula:
x(1−nx​)=5If we open the bracket, we get:
x−nx2​=5Take
nx2​ to the other side:
nx2​=x−5Now, solve for
n :
n=x−5x2​To get a whole number for
n,x−5 must divide
x2 exactly. Let's check different
x values:
If
x=6:n=136​=3636 is an integer.
If
x=10:n=5100​=2020 is an integer.
If
x=30:n=25900​=3636 is an integer.
So, the possible values for
x are:
6,10,30.