Calculating mean and variance of probability

bunnyrabid
Messages
2
Reaction score
0

Homework Statement



Given a 30% failure rate, what is the mean number of students who fail, and what is the variance? There are 8 students in the course.

Homework Equations



I think these are the correct equations:
Mean = Probability * Number of students
Variance = Sum from i=1 to 8 of pi(xi-Mean)^2

The Attempt at a Solution



So using the Mean formula I got 0.3*8=2.4
Using the variance formula I got
(0.3)(1-2.4)2+(0.3)(2-2.4)2+(0.3)(3-2.4)2+(0.3)(4-2.4)2+(0.3)(5-2.4)2+(0.3)(6-2.4)2+(0.3)(7-2.4)2+(0.3)(8-2.4)2
which is approximately equal to 23.184 (see variance formula here: wolfram alpha, then click approximate form )
Do I then square root to find the actual variance?

Thanks for any help!
 
Physics news on Phys.org
the pi in your variance equation are not correct, you need to have a think about the probability distribution
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top