Find the mean and variance of this set of 40 numbers

Click For Summary

Homework Help Overview

The problem involves calculating the mean and variance of a set of 40 numbers generated by a computer, consisting of 23 zeros and 17 twos. The context is centered around basic statistics.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss how to calculate the mean by summing the values and dividing by the total count. There is confusion regarding the application of formulas for mean and variance, with some participants questioning their understanding of the calculations involved.

Discussion Status

Some participants have provided guidance on how to approach the calculations for mean and variance, while others express uncertainty about their interpretations of the instructions. There is no explicit consensus on the correct method yet, as participants are still exploring the problem.

Contextual Notes

There is mention of a booklet providing answers for mean and variance, which may influence participants' expectations. Some participants are struggling with the initial steps of the calculations.

jinx007
Messages
60
Reaction score
0
A computer can generate random numbers which are either 0 or 2. On a particular occasion, it
generates a set of numbers which consists of 23 zeros and 17 twos. Find the mean and variance of this set of 40 numbers.


Please help i just don't know where to start. In fact i am thinking of using the formula mean = np but i cannot relate it to the question.

According to the booklet the answer for the mean is 0.850 and variance = 0.978

PLEASE HELP I AM STUCK
 
Physics news on Phys.org


For the mean: just add up all the numbers (that is the 23 zeros and the 17 twos) and divide through the amount of numbers that you have added up.

For the variance: use the formula Variance(X)= Mean( (X - mean(X))^2 ), so for each number calculate (X- mean(X))^2, add these all up and divide though the amount of numbers you have added up
 


gerben said:
For the mean: just add up all the numbers (that is the 23 zeros and the 17 twos) and divide through the amount of numbers that you have added up.

For the variance: use the formula Variance(X)= Mean( (X - mean(X))^2 ), so for each number calculate (X- mean(X))^2, add these all up and divide though the amount of numbers you have added up


Oh if i understand you, you are saying that i must add 17 and 23 which is equal to 40 then i divide by 40.. ? but the answer is not correct, or i have misinterpreted you..??

If i know how to find the mean i can work out the variance. Just help me to find the mean.!
 


add up 17 twos and 23 zeros and divide by 40
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 23 ·
Replies
23
Views
2K
Replies
0
Views
1K
  • · Replies 7 ·
Replies
7
Views
6K
  • · Replies 15 ·
Replies
15
Views
2K