Question

In: Statistics and Probability

Suppose you flip two coins 100 times. The result are 20 HH, 27 HT, 30 TH...

Suppose you flip two coins 100 times. The result are 20 HH, 27 HT, 30 TH and 23 TT. Are the coins fair? Test at %5 significance level.

Solutions

Expert Solution

Solution:

Given: Two coins are flipped 100 times.

We have to test if coins are fair or unfair.

Level of significance = 5%

Step 1) State H0 and H1:

If coins are fair then each outcome has an equal chance.

That is: P(HH) = P( HT) = P(TH) = P(TT) = 1/4 = 0.25

Thus

H0: Two coins are fair , that is: P(HH) = P( HT) = P(TH) = P(TT) = 1/4 = 0.25

Vs

H1: Two coins are fair , that is: at least of the proportion is different from 0.25

Step 2) Test statistic:

Chi square test statistic for goodness of fit

Where

Oi = Observed Counts

Ei =Expected Counts

Thus we need to make following table

Outcomes Oi: Observed frequency Expected proportions Ei: Expected Frequency Oi2/Ei
HH 20 0.25 25 16
HT 27 0.25 25 29.16
TH 30 0.25 25 36
TT 23 0.25 25 21.16
N = 100

Thus

Step 3) Chi-square critical value:

df = k - 1 = 4 - 1 = 3

Level of significance = 0.05

Chi-square critical value = 7.815

Step 4) Decision Rule:

Reject null hypothesis H0, if Chi square test statistic > Chi-square critical value = 7.815, otherwise we fail to reject H0.
Since Chi square test statistic = < Chi-square critical value = 7.815, we fail to reject H0.

Step 5) Conclusion:

At 0.05 level of significance, we conclude that: Two coins are fair.


Related Solutions

Create a text file with 1000 random H's and T's, then write a program to count how many times each of the pairs HH, HT, TH, TT occur.
Programing in CCreate a text file with 1000 random H's and T's, then write a program to count how many times each of the pairs HH, HT, TH, TT occur. Each should occur equally often. (use getchar(), read until EOF.) Regard the file as a sequence of pairs (so pairs do not overlap.) If there are an odd number of characters, ignore the last one.Example output:HH occured 113 timesHT occured 128 timesTH occured 133 timesTT occured 126 times
Flip a coin 30 times and document the result of each toss. Then provide both the...
Flip a coin 30 times and document the result of each toss. Then provide both the empirical and theoretical probability distributions. Use the appropriate expression for probability.
flip a coin 30 times and document the result of each toss. Then provide both empirical...
flip a coin 30 times and document the result of each toss. Then provide both empirical and theoretical proability distributions. use the appropriate expression for probability.
1. A) If you flip an unfair coin 100 times, and the probability for a coin...
1. A) If you flip an unfair coin 100 times, and the probability for a coin to be heads is 0.4, then the number of heads you expect on average is: B) If you flip an unfair coin 100 times, and the probability for a coin to be heads is 0.4, then the standard deviation for the number of heads is: C) If you flip an unfair coin 2 times, and the probability for a coin to be heads is...
Suppose you have a bag of 100 coins. Ninety of them are fair coins, which is...
Suppose you have a bag of 100 coins. Ninety of them are fair coins, which is P(H) = P(T) = 1/2. The other 10 coins are biased , they have tail (T) on both sides. Let X = {X1, X2, · · · , X100} be a random variable denoting the the total number of heads in the 100 coin flips. a. How many possible values X can take? For example, if one tosses two fair coins, the number of...
Suppose that you flip a coin 11 times. What is the probability that you achieve at...
Suppose that you flip a coin 11 times. What is the probability that you achieve at least 4 tails? A sign on the pumps at a gas station encourages customers to have their oil checked, and claims that one out of 5 cars needs to have oil added. If this is true, what is the probability of each of the following: A. One out of the next four cars needs oil. Probability = B. Two out of the next eight...
Suppose you flip one million coins. Would you be surprised to find that 501,000 landed heads?...
Suppose you flip one million coins. Would you be surprised to find that 501,000 landed heads? Would you be surprised to find that 510,000 landed heads? Explain.
Thermodynamics Question: Suppose that you flip 50 "honest" coins and answer a, b and c again...
Thermodynamics Question: Suppose that you flip 50 "honest" coins and answer a, b and c again for 100 of them. a). How many microstates are there? Give your answer as a factor of the order of unity times an integral power of 10. b.) How man microstates are there corresponding to the most probable macrostate? c.) What is the true probability of achieving the most probable macrostate? Note: Use a calculator that gives you n! or a table of gamma...
You flip a coin 100 times to see whether it is biased and get 60 heads....
You flip a coin 100 times to see whether it is biased and get 60 heads. Explain two different ways you could find the p-value of this experiment.
Suppose you have an experiment where you flip a coin three times. You then count the...
Suppose you have an experiment where you flip a coin three times. You then count the number of heads. State the random variable. Write the probability distribution for the number of heads. Draw a histogram for the number of heads. Find the mean number of heads. Find the variance for the number of heads. Find the standard deviation for the number of heads. Find the probability of having two or more number of heads. Is it unusual to flip two...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT