What are the estimated proportions? What are the null and alternative hypothesis? Chapter 7 (see section 7.7 “step 2” and table 7.17) has a rule of thumb for when we can do a specific test in this instance . Do we satisfy this rule of thumb? What will our test statistic be? Perform the test, what do you conclude?

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

A reason people give for drinking coffee is “alertness” or “energy”. This could be the case for kids who drink coffee. Or they could be groggier from a lack of sleep due to coffee.  We asked n1=50  14-year-old kids who drink coffee if they “felt alert” x1=30 answered yes, we then asked n2=50 kids who don’t drink coffee  and x2=20 of the kids answered that they the “felt alert”.  We would like to compare these two proportions. .

 

    

  1. What are the estimated proportions?
  2. What are the null and alternative hypothesis?
  3. Chapter 7 (see section 7.7 “step 2” and table 7.17) has a rule of thumb for when we can do a specific test in this instance . Do we satisfy this rule of thumb? What will our test statistic be?
  4. Perform the test, what do you conclude?

 

Another way we could look at this would be to do a test of association on the 2x2 table constructed from this data (see the HIV IV drug example in the blackboard content directory for 04/06/22->additional information->OR RR and categorical-> Chi square pdf #1).

 

  1. Please construct the table (some blank 2x2s provided - please label as tables)
  2. What is the new null and alternative hypothesis?
  3. What are the expected counts (under the null hypothesis)
  4. What are the observed minus expected counts?
  5. What is the test statistic? How many degree of freedom?
  6. What do you conclude?

 

 

Yet two more ways we could look at this would be to look at the odds ratio or relative risks of these two groups and then perform an appropriate test on them (see chapter 3 and 7.7).

  1. What is the odds ratio in this case?
  2. What is the relative risk?
  3. What is the relative risk as a sentence in this case?
  4. What would our null and alternative hypothesis be if we were using odds ratios?
  5. What would the confidence interval for an odds ratio look like? (See section 6.6.3 and table 6-21).
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 6 steps with 1 images

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman