Question

In: Math

You randomly select 20 coffee shops and measure the temperature of the coffee sold at each....

You randomly select 20 coffee shops and measure the temperature of the coffee sold at each. The sample mean temperature is 162.0ºF with a sample standard deviation of 10.0ºF. Assume the temperatures are approximately normally distributed. Find the test statistic to test if population average temperature of the coffee is different than 163.5 F.

Solve using R

Solutions

Expert Solution

X:temperature of coffee

Given that X~N( ,) .......(parameters are known)

=mean=162.0ºF

=standard deviation =10.0ºF

n=sample size=20

Hypothesis is

H0: 0=163.5 F against H1: 0 163.5 F

R code to comupte test statistic is.

> xbar=163.5 #under H0 average
> mu=162 #mean
> sigma=10 #standard deviation
> n=20 #sample size
> z=(xbar-mu)/(sigma/sqrt(n)) #test statistic
> z
[1] 0.6708204
> zcritical=qnorm(0.975,0,1) #critical value
> zcritical
[1] 1.959964

Here Z=0.6708204 < Z critical=1.959964

accept null hypothesis 5% level of significance

Conclusion: average temperature of the coffee is may not different than 163.5 F.


Related Solutions

1. You randomly select 36 restaurants and measure the temperature of coffee sold at each. The...
1. You randomly select 36 restaurants and measure the temperature of coffee sold at each. The sample mean temperature is 162.0°F. Temperatures historically have had a population standard deviation of 10.0°F. Which of the following intervals is the correct 95% confidence interval for the true mean? (T interval or Z interval) 2. If all other quantities remain the same, how does the indicated change affect the width of a confidence interval? Decrease the level of confidence from 95% to 90%?
You randomly select 20 cars of the same model that were sold at a car dealership...
You randomly select 20 cars of the same model that were sold at a car dealership and determine the number of days each car sat on the dealership’s lot before it was sold. The sample mean is 9.75 days, with the sample standard deviation of 2.39 days. Construct a 99% confidence interval for the population mean number of days the car model sits on the dealership’s lot. Assume the days on the lot is normally distributed.
1. A statistics student takes a poll five randomly selected coffee shops, then randomly selects 6...
1. A statistics student takes a poll five randomly selected coffee shops, then randomly selects 6 customers from each coffee shop to find out if they support the President’s decision for declaring the construction of a southern border wall a national emergency. Why wouldnʹt this sample be representative of the entire US voting population?
You are an associate of the American Coffee Producers Association and operate small coffee shops in...
You are an associate of the American Coffee Producers Association and operate small coffee shops in southern Nevada. The coffee business is quite competitive and small companies must compete with coffee giants like Starbucks. Therefore, it is important that you understand your local market demographics. One demographic you wish to study is whether there are differences in coffee consumption levels among various age groups. Understanding any relationship between age and coffee consumption will help tailor effective promotional issues. You develop...
You are an associate of the American Coffee Producers Association and operate small coffee shops in...
You are an associate of the American Coffee Producers Association and operate small coffee shops in southern Nevada. The coffee business is quite competitive and small companies must compete with coffee giants like Starbucks. Therefore, it is important that you understand your local market demographics. One demographic you wish to study is whether there are differences in coffee consumption levels among various age groups. Understanding any relationship between age and coffee consumption will help tailor effective promotional issues. You develop...
You randomly select and measure the contents of 10 bottels of cough syrup. The results in...
You randomly select and measure the contents of 10 bottels of cough syrup. The results in (fluid ounces) are shown in the table below. Assume the sample is taken from a normally distributed population. Construct 80% confidence intervals for (a) the population variance and (b) the population standard deviation. ​(a) The confidence interval for the population variance is: ​(Round to six decimal places as​ needed.) 4.218 4.257 4.182 4.264 4.221 4.298 4.249 4.285 4.249 4.233 ** My main question is,...
You randomly select and measure the contents of 10 bottles of cough syrup. The results​ (in...
You randomly select and measure the contents of 10 bottles of cough syrup. The results​ (in fluid​ ounces) are shown to the right. 4.218 4.299 4.255 4.248 4.184 4.296 4.265 4.246 4.228 4.232 Assume the sample is taken from a normally distributed population. Construct 95​% confidence intervals for​ (a) the population variance sigma squared and​ (b) the population standard deviation sigma. Interpret the results.
You randomly select and measure the contents of 1010 bottles of cough syrup. The results​ (in...
You randomly select and measure the contents of 1010 bottles of cough syrup. The results​ (in fluid​ ounces) are shown. 4.2134.213 4.2954.295 4.2514.251 4.2414.241 4.1844.184 4.2054.205 4.2684.268 4.2454.245 4.2234.223 4.2354.235 Assume the sample is taken from a normally distributed population. Construct 9898​% confidence intervals for​ (a) the population variance sigmaσsquared2 and​ (b) the population standard deviation sigmaσ. ​(a) The confidence interval for the population variance is left parenthesis nothing comma nothing right parenthesis .0.0004250.000425,0.0044060.004406. ​(Round to six decimal places as​...
You randomly select and measure the contents of 1010 bottles of cough syrup. The results​ (in...
You randomly select and measure the contents of 1010 bottles of cough syrup. The results​ (in fluid​ ounces) are shown. 4.2134.213 4.2954.295 4.2514.251 4.2414.241 4.1844.184 4.2054.205 4.2684.268 4.2454.245 4.2234.223 4.2354.235 Assume the sample is taken from a normally distributed population. Construct 9898​% confidence intervals for​ (a) the population variance sigmaσsquared2 and​ (b) the population standard deviation sigmaσ. ​(a) The confidence interval for the population variance is left parenthesis nothing comma nothing right parenthesis .,. ​(Round to six decimal places as​...
You randomly select and measure the contents of 10 bottles of cough syrup. The results​ (in...
You randomly select and measure the contents of 10 bottles of cough syrup. The results​ (in fluid​ ounces) are shown to the right. 4.213 4.293 4.252 4.242 4.183 4.293 4.265 4.243 4.226 4.235 Assume the sample is taken from a normally distributed population. Construct 95​% confidence intervals for​ (a) the population variance σ^2 and​ (b) the population standard deviation σ. Interpret the results.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT