Homework 10

CHE 116: Numerical Methods and Statistics

5/5/2018


Homework Requirements:

  1. Write all equations in $\LaTeX$
  2. Simplify all expressions
  3. Put comments in your Python code
  4. Explain or show your work
  5. Follow the academic honesty guidelines in the syllabus

1. Conceptual Questions (10 Points)

  • 2 Points each *
  1. In the following picture, which color area corresponds to the p-value?
  2. If a significance level goes up, is it easier or harder to reject a null hypothesis?
  3. If you only have one data point, which hypothesis test or tests can be used?
  4. Is it meaningful to perform a Wilcoxon Signed Rank Test if the two paired data are in different unit systems?
  5. We haven't learned about a "binomial hypothesis test", but what would the null hypothesis of such a test be and provide a situation where you would use it.

2. Hypothesis Tests (72 Points)

For the following questions, state the following in Markdown and show your numerical work in Python:

  • [2 points] The null hypothesis
  • [2 points] The choice of test
  • [6 points] $p$-value and if you are considering both tails
  • [2 point] If the null hypothesis is rejected

Each hypothesis test occurs once in the following, so make sure you do not repeat any of them!

  1. On average, 3 people fall asleep in class. Today 11 fall asleep in class. Is this significant?
  2. Your average running pace over the last few years has been an 8:00 minute mile. You've tried changing running shoes and recorded the following paces on your most recent runs: 7:56, 7:45, 7:34, 8:05, 7:35. Is your running pace significantly different?
  3. You are comparing two batches of a compound prepared by different technicians. The following purities have been recorded for technician A: 0.87, 0.86, 0.88, 0.93, 0.85, 0.67 and the following by technician B: 0.86, 0.96, 0.90, 0.76, 0.87, 0.83, 0.84, 0.80. Are they achiving similar purity?
  4. You are assessing the efficacy of a drug that helps people lose weight. 13 people who enrolled had the following weights at admission and after 8 weeks of the drug:
Person Weight at Start Weight at 8 Weeks
1 150 163
2 212 194
3 320 280
4 250 265
5 215 132
6 186 172
7 195 185
8 203 187
9 145 135
10 168 140
11 172 178
12 240 211
13 272 268

is there a significant effect from the drug?

5. A chemical refinery has input crude with a concentration of sulfor of 0.7% on average with a variance of 0.015%. A sample from the crude reveals a concentration of 1.2%. Is this significant enough that you should investigate?

6. You are assessing if a correlation exists between literacy rate and birthrate. You've found the following data from countries:

Country Literacy Rate Birthrate per 1000
Afghanistan 38.2% 37.90
Belize 82.7% 24.00
Laos 79.9% 23.60
Lebanon 93.9% 14.30
India 72.1% 19.00
Russia 99.7% 11.00
Argentina 98.1% 16.70
South Africa 94.3% 20.20
Venezuela 95.4% 18.80
Cameroon 75% 35.40
Chad 40.2% 35.60

Is there a relationship between these two?