| Category | Not.predated | Predated | Total |
|---|---|---|---|
| Eggs without shell nearby | 47 | 13 | 60 |
| Eggs with shell nearby | 13 | 39 | 52 |
| Total | 60 | 52 | 112 |
Work through examples illustrating how to use the normal and t-distributions for statistical inference.
Learn how to construct confidence intervals and perform tests using the (t.test(), prop.test()) functions in R.
Compare simulation and formula-based methods of inference.
Understand that a test for a difference in (means, proportions) may be significant even when confidence intervals for the individual groups overlap.
Compute confidence intervals and tests for paired data using t.test()
Black-headed Gull removing an egg shell from its nest. Shells are often dropped between a few inches and a hundred yards from the nest.
Why do this just after hatching, when the young birds need warmth and protection from predators? This behavior must have considerable survival value.
| Category | Not.predated | Predated | Total |
|---|---|---|---|
| Eggs without shell nearby | 47 | 13 | 60 |
| Eggs with shell nearby | 13 | 39 | 52 |
| Total | 60 | 52 | 112 |
Let \(p_{shell}\) = the proportion of eggs with a shell nearby that are predated
Let \(p_{no shell}\) = the proportion of eggs without a shell nearby that are predated
\(H_0: p_{shell} = p_{no shell}\) versus \(H_a: p_{shell} \ne p_{no shell}\)
Compare methods:
prop.testMike Zicus, MN DNR (and UMN alumn) measured eggshell thickness and egg-contaminant levels (e.g., DDT, PCBs, mercury) in common goldeneye and hooded merganser eggs throughout MN in 1981 and again in 2003-2004.
How has eggshell thickness and Hg concentration changed (DDT banned in early 1070’s)?
Compare methods:
t.testConfidence interval overlap versus a test for a difference in means
Paired data (from pre-lab)
Make sure to look at answer key if you do not get to these sections!