Preliminaries This file should be in STAT240/homework/hw07 on your local computer. Problem 1 The weight of adult male grizzly bears in the continental United States is well approximated by a normal distribution with mean 510 pounds and standard deviation 45 pounds. The weight of adult female grizzly bears in the continental United States is well approximated by a normal distribution with mean 315 pounds and standard deviation 37 pounds. Suppose a male grizzly bear that is 441 pounds is observed. What would be the approximate weight of a female grizzly bear with the same weight percentile as this male grizzly bear?
Problem 2 The lifespan of a certain type of tire is approximately normal, with mean 39 and standard deviation 2.5 (units are in thousands of miles). (a) What is the probability that a random tire will last longer than 40,000 miles?
(b) What is the 95th percentile of a single tire’s lifespan?
(c) Take a random sample of 4 tires. What is the probability that the average lifespan of the four tires will be greater than 40,000 miles?
(d) What is the 95th percentile for the average lifespan of four tires?
Problem 3 Suppose you are playing a coin flipping game with a friend, where you suspect the coin your friend provided is not a fair coin. In fact, you think the probability the coin lands heads is less than 0.5. To test this, you flip the coin 100 times and observe the coin lands heads 30 times. If you assume the coin is fair (i.e., the probability of the coin landing heads is 0.5), what is the probability of observing 30 heads or fewer?
Calculate the previous probability, but use a normal approximation to achieve a numerical value. What is the error in this approximation?
Problem 4
Problem 5 Continue the analysis of the right-skewed population from problem 4. Now, perform the sampling process three times, each with (n = 50). Do this with 50 iterations, 500 iterations, and 50000 iterations. Then, make three density plots to compare the three sampling distributions. What do you notice as the number of iterations increases?
Problem 6 For each of the three prompts, explain which condition will result in a narrower confidence interval. If the confidence level would not change, explain why. Having a larger confidence level (smaller alpha) versus having a smaller confidence level (larger alpha) Replace this text with your response. Having larger estimation error (a.k.a “sampling error”) versus having smaller estimation error Replace this text with your response. Having a larger point estimate versus having a smaller point estimate Replace this text with your response. Problem 7 The code below calculates the Z critical value to build a 95% confidence interval. Edit the code to instead calculate the critical value for 98% confidence.
Next, generalize this operation to any confidence level. Uncomment and edit the code below to return the critical value for a (1-alpha) confidence interval for any choice of alpha.
Problem 8 For Halloween, you have purchased a big bag of candy made up of equal amounts of KitKats, Hershey’s, Almond Joys, and Reese’s candy bars. (a) A small child reaches in and pulls out three Reese’s candy bars. What is the probability that all three of their three candies were Reese’s by random chance? (Assume candy bar draws are independent and all have equal probability of being a Reese’s.)
(b) A different small child reaches in and takes seven Reese’s candy bars and one other candy bar. What is the probability that seven ormore of their eight candies were Reese’s by random chance?