100% found this document useful (1 vote)
362 views2 pages

STA301 Assignment No.2 Solution

Tossing a fair coin four times, the document constructs a frequency distribution for the number of heads. It finds the mean to be 2 and the standard error to be 0.5. Specifically: 1) It lists all possible outcomes of tossing a coin 4 times and calculates the probability of getting each number of heads. 2) It determines the mean is 2 by calculating the sum of the product of each number of heads and its probability. 3) It calculates the standard deviation is 1 by taking the square root of the sum of the product of the squared number of heads and probabilities minus the mean squared. 4) It then calculates the standard error as the standard deviation divided by the

Uploaded by

Amir Bhinder
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
362 views2 pages

STA301 Assignment No.2 Solution

Tossing a fair coin four times, the document constructs a frequency distribution for the number of heads. It finds the mean to be 2 and the standard error to be 0.5. Specifically: 1) It lists all possible outcomes of tossing a coin 4 times and calculates the probability of getting each number of heads. 2) It determines the mean is 2 by calculating the sum of the product of each number of heads and its probability. 3) It calculates the standard deviation is 1 by taking the square root of the sum of the product of the squared number of heads and probabilities minus the mean squared. 4) It then calculates the standard error as the standard deviation divided by the

Uploaded by

Amir Bhinder
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

STA301 Assignment No.

22021

Toss a fair coin four times and construct frequency distribution for the number of heads. Also
find the mean and standard error of that probability distribution of heads.

Note. X represents the number of heads

SOLUTION

SAMPLING:

HHHH TTTT
HHHT TTTH
HHTH TTHT
HHTT TTHH
HTHH THTT
HTHT THTH
HTTH THHT
HTTT THHH

Frequency Distribution:

No. of Value of the 4 Total No. of Ways P(X) X.P(X)


Heads Coins Flips of Getting a Heads
X
0 TTTT 1 1/16 0
1 HTTT, THTT, 4 4/16 4/16
TTHT,TTTH
HHTT, HTHT,
2 HTTH, THTH, 6 6/16 12/16
THHT, TTHH
3 HHHT, HHTH, 4 4/16 12/16
HTHH, THHH
4 HHHH 1 1/16 4/16
32
∑ ( X . P ( X ) ) = 16 =2
MEANS

Mean=μ=∑ X . P( X )

32
Mean= μ= =2
16

NOW FOR STANDARD ERROR WE FIND STANDARD DEVIATION

X X2 P(X) X2. P(X)


0 0 1/16 0
1 1 4/16 4/16
2 4 6/16 24/16
3 9 4/16 36/16
4 16 1/16 16/16
∑ X 2. P(X ) ¿=80 /16=5

STANDARD DEVIATION

Standard Deviation=σ =√∑ ❑ ( X 2. P ( X ) ) −∑ ❑ X . P ( X ) ¿ 2

Standard Deviation= √ ∑ ❑ ( X 2. P ( X )) −μ 2

Standard Deviation=√ 5−( 2 ) 2

Standard Deviation=√ 5−4

Standard Deviation=√ 1=1

STANDARD ERROR

Standard Error= σ / √ n

Standard Error=1/√ 4

Standard Error =1/2 =0.5

If you found any mistake kindly correct own yourself

Remember in your prayers

You might also like