Skip to content

Commit a34b79e

Browse files
committed
Merge pull request DataScienceSpecialization#1 from bcaffo/master
Update from first pull
2 parents 6871078 + 3398a7e commit a34b79e

File tree

15 files changed

+767
-734
lines changed

15 files changed

+767
-734
lines changed

06_StatisticalInference/homework/hw1.Rmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title : Homework 1 for Stat Inference
3-
subtitle : Extra problems for Stat Inference
3+
subtitle : (Use arrow keys to navigate)
44
author : Brian Caffo
55
job : Johns Hopkins Bloomberg School of Public Health
66
framework : io2012

06_StatisticalInference/homework/hw1.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<slide class="title-slide segue nobackground">
3535
<hgroup class="auto-fadein">
3636
<h1>Homework 1 for Stat Inference</h1>
37-
<h2>Extra problems for Stat Inference</h2>
37+
<h2>(Use arrow keys to navigate)</h2>
3838
<p>Brian Caffo<br/>Johns Hopkins Bloomberg School of Public Health</p>
3939
</hgroup>
4040
<article></article>
@@ -169,7 +169,7 @@ <h2>About these slides</h2>
169169
<article data-timings="">
170170

171171
<div class="quiz quiz-single well ">
172-
<p>A random variable takes the value -4 with probabability .2 and 1 with proabability .8. What
172+
<p>A random variable takes the value -4 with probability .2 and 1 with probability .8. What
173173
is the variance of this random variable?</p>
174174

175175
<ol>
@@ -333,7 +333,7 @@ <h2>About these slides</h2>
333333
<button class="quiz-clear btn btn-danger">Clear</button>
334334

335335
<div class="quiz-hint">
336-
<p>The variance is \(E[X^2] - (E[X])^2\)</p>
336+
<p>The variance is \(E[X^2] - E[X^2]\)</p>
337337

338338
</div>
339339
<div class="quiz-explanation">
@@ -447,4 +447,4 @@ <h2>About these slides</h2>
447447
<script>hljs.initHighlightingOnLoad();</script>
448448
<!-- DONE LOADING HIGHLIGHTER JS FILES -->
449449

450-
</html>
450+
</html>

06_StatisticalInference/homework/hw1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title : Homework 1 for Stat Inference
3-
subtitle : Extra problems for Stat Inference
3+
subtitle : (Use arrow keys to navigate)
44
author : Brian Caffo
55
job : Johns Hopkins Bloomberg School of Public Health
66
framework : io2012

06_StatisticalInference/homework/hw2.Rmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title : Homework 2 for Stat Inference
3-
subtitle : Extra problems for Stat Inference
3+
subtitle : (Use the arrow keys to navigate)
44
author : Brian Caffo
55
job : Johns Hopkins Bloomberg School of Public Health
66
framework : io2012

06_StatisticalInference/homework/hw2.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<slide class="title-slide segue nobackground">
3535
<hgroup class="auto-fadein">
3636
<h1>Homework 2 for Stat Inference</h1>
37-
<h2>Extra problems for Stat Inference</h2>
37+
<h2>(Use the arrow keys to navigate)</h2>
3838
<p>Brian Caffo<br/>Johns Hopkins Bloomberg School of Public Health</p>
3939
</hgroup>
4040
<article></article>

06_StatisticalInference/homework/hw2.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title : Homework 2 for Stat Inference
3-
subtitle : Extra problems for Stat Inference
3+
subtitle : (Use the arrow keys to navigate)
44
author : Brian Caffo
55
job : Johns Hopkins Bloomberg School of Public Health
66
framework : io2012

06_StatisticalInference/homework/hw3.Rmd

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title : Homework 3 for Stat Inference
3-
subtitle : Extra problems for Stat Inference
3+
subtitle : (Use the arrow keys to navigate)
44
author : Brian Caffo
55
job : Johns Hopkins Bloomberg School of Public Health
66
framework : io2012
@@ -61,7 +61,7 @@ round(t.test(mtcars$mpg)$conf.int)
6161
<span class="answer">`r round(max(t.test(mtcars$mpg)$conf.int))`</span>
6262

6363
--- &multitext
64-
Suppose that data of 9 paired differences has a standard error of $1$, what value would the average difference have to be to have the lower endpoint of a 95%
64+
Suppose that standard deviation of 9 paired differences is $1$, what value would the average difference have to be so that the lower endpoint of a 95%
6565
students t confidence interval touch zero?
6666

6767
1. Give the number here to two decimal places
@@ -79,7 +79,7 @@ round(qt(.975, df = 8) * 1 / 3, 2)
7979

8080

8181
--- &radio
82-
An independent group Student's T interval is used over
82+
An independent group Student's T interval is used instead of
8383
a paired T interval when:
8484

8585
1. The observations are paired between the groups.
@@ -155,7 +155,7 @@ The interval was conducted subtracting 4 - 6 and was entirely above zero.
155155
--- &multitext
156156
Suppose that 18 obese subjects were randomized, 9 each, to a new diet pill and a placebo. Subjects' body mass indices (BMIs) were measured at a baseline and again after having received the treatment or placebo for four weeks. The average difference from follow-up to the baseline (followup - baseline) was 3 kg/m2 for the treated group and 1 kg/m2 for the placebo group. The corresponding standard deviations of the differences was 1.5 kg/m2 for the treatment group and 1.8 kg/m2 for the placebo group. The study aims to answer whether the change in BMI over the four week period appear to differ between the treated and placebo groups.
157157

158-
What is the pooled variance estimate? (to 2 decimal places)
158+
1. What is the pooled variance estimate? (to 2 decimal places)
159159

160160

161161
*** .hint

0 commit comments

Comments
 (0)