Starting from:

$25

AccelerateAI - Data Science Global Bootcamp -  Assignment 04  - Solved

                 Hypothesis Testing 

 

Q1: A company named Outel Semiconductors has developed a new microprocessor. It wants to test how fast one of these new chips can conduct a certain benchmark calculation. Suppose that the time it takes to complete the calculation is normally distributed.  After 10 runs, the sample average time to completion is 32.7 nanoseconds, and the sample variance is 16 nanoseconds. Can Outel claim that true average time to completion is 30 nanoseconds at 95% confidence level?

 

 

Q2: Marketers believe that 92% of adults in the United States own a cell phone. A cell phone manufacturer believes that the number is actually lower. 200 American adults are surveyed, of which, 174 report having cell phones. Use a 5% level of significance.  

a)    State the null and alternative hypothesis,  

b)    find the p-value, state your conclusion, and  

c)    identify the Type I and Type II errors.

 

 



 
 
 

Q3: When a coin is tossed 100 times, suppose we get 60 heads and 40 tails. Test if the coin is fair versus the alternative it is loaded in favour of heads, using significance level alpha = 0.05.

 

 

Q4. The table below contains data from a survey of 500 randomly selected households. Researchers would like to use the available sample information to test whether home ownership rates vary by household location. For example, is there a nonzero difference between the proportions of individuals who own their homes (as opposed to those who rent their homes) in households located in the SW and NW sectors of this community?  

Use the sample data to test for a difference in home ownership rates in these two sectors. Use a 5% significance level. Interpret and summarize your results.  

 

  
Home Ownership 
  
  
No 
Yes 
Grand Total 
NW Sector 
40 
89 
129 
SW Sector 
17 
106 
123 
 

 

  

 

Q5.  Twenty people have rated a new beer on a taste scale of 0 to 100. Their ratings are in the file Q5_Beer_Taste.xlsx. Marketing has determined that the beer will be a success if the average taste rating exceeds 76. Using a 5% significance level, is there sufficient evidence to conclude that the beer will be a success? Discuss your result in terms of a pvalue. Assume ratings are at least approximately normally distributed.

 

 

 

Q6. A market research consultant hired by a leading soft drink company wants to determine the proportion of consumers who favor its low-calorie drink over the leading competitor’s low-calorie drink in a particular urban location. A random sample of 250 consumers from the market under investigation is provided in the file Q6_Lowcalorie_Drink.xlsx.

 

a.    Find a 95% confidence interval for the proportion of all consumers in this market who prefer this company’s drink over the competitors. What does this confidence interval tell us?

b.    Does the confidence interval in part a support the claim made by one of the company’s marketing managers that more than half of the consumers in this urban location favor its drink over the competitor’s? Explain your answer.

c.     Comment on the sample size used in this study. Specifically, is the sample unnecessarily large? Is it too small? Explain your reasoning.  

 

 

 

Q7. A large buyer of household batteries wants to decide which of two equally priced brands to purchase. To do this, he takes a random sample of 100 batteries of each brand. The lifetimes, measured in hours, of the batteries are recorded in the file Q7_Battery_life.csv. Before testing for the difference between the mean lifetimes of these two batteries, he must first determine whether the underlying population variances are equal.

a.    Perform a test for equal population variances.  Report a p-value and interpret its meaning.

b.    Based on your conclusion in part a, which test statistic should be used in performing a test for the difference between population means?  

 

 

 

All data files are posted at the link below:

https://github.com/Accelerate-AI/Data-Science-GlobalBootcamp/tree/main/ClassAssignment/Assignment04

 

  

More products