Home About us Mathematical Epidemiology Rweb EPITools Statistics Notes Web Design Contact us Links |
1,2,3,2,3,4,3,6,1,2,1,4,2,3,3,2,1,7,1,2,3,1,1,1,1,1,3,2,3,4
Data value, x | Number of occurrences | Relative frequency, fx | xfx |
1 | 10 | 10/30 | 1*10/30 |
2 | 7 | 7/30 | 2*7/30 |
3 | 8 | 8/30 | 3*8/30 |
4 | 3 | 3/30 | 4*3/30 |
6 | 1 | 1/30 | 6*1/30 |
7 | 1 | 1/30 | 7*1/30 |
> x<-c(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1000)
> mean(x)
Almost all the numbers happen to be 1, but the mean is much larger than
that. Almost all the numbers are smaller than the average. Try different
values for that last element instead of 1000, and see what happens.