what kind of error did you probably make in part (d)?
1) Use R for all parts of this problem. Use the data on heights you collected a few weeks ago.
(a) Do a t-test and test the following:
H0: μ = y for your recitation section vs. H1: μ ≠ y
Use α = .01.
(if, for example, your y = 64.72, then you would do H0: μ = 64.72)
(c) now repeat but add 4.75 to your y (so you'd do H0: μ = 69.47 ( = 64.72 + 4.75))
(d) repeat (c) but use α = .00000000001.
(You do not need to set α in R; make sure you understand why this is true!!) ← Don't ignore this!!
(e) what kind of error did you probably make in part (d)? (Just write out the answer here)
R instructions:
To test, for example, that μ = 64.72, you need to give R this value. Just do: t.test(height,mu = 64.72)
(assuming you named your variable “height”; of course, you may have to do data$height or something similar depending on how you have your data in R).
The instructions for confidence intervals were given in a previous homework assignment (remember that R defaults to a 95% confidence interval).
Since R gives you p-values ( = probabilities) you don't need to calculate or use t* (although R automatically prints this if you want to use it).
Pleased only solve bold problems
|
|
|
|
|
|
Homework 5 and 6 data |
|
||
|
height |
sex |
hand |
|
|
70 |
F |
R |
|
|
69 |
M |
R |
|
|
70.5 |
M |
R |
|
|
65 |
F |
R |
|
|
70 |
M |
R |
|
|
63 |
F |
L |
|
|
63 |
F |
R |
|
|
61 |
F |
R |
|
|
71 |
M |
R |
|
|
63 |
F |
R |
|
|
70 |
M |
R |
|
|
61 |
F |
L |
|
|
71 |
M |
R |
|
|
65 |
M |
R |
|
|
73 |
M |
R |
|
|
63 |
F |
R |
|
|
72 |
M |
R |
|
|
68 |
M |
L |
|
|
74 |
M |
R |
|
|
74 |
M |
R |
|
|
58 |
F |
R |
|
|
68 |
F |
R |
|
|
64 |
F |
R |
|
|
67 |
M |
R |
|
|
65 |
F |
R |
|
|
64 |
F |
R |
|
|
70 |
F |
R |
|
|
67 |
M |
R |
|
|
62 |
F |
R |
|
|
65 |
F |
L |
|
|
66 |
F |
R |
|
|
74 |
M |
R |
|
|
70 |
M |
R |
|
|
63 |
F |
R |
|
|
65 |
F |
R |
|
|
63 |
F |
R |
|
|
62 |
F |
R |
|
|
66 |
M |
R |
|
|
73 |
M |
R |
|
|
71 |
M |
R |
|
|
62 |
F |
L |
|
|
62 |
F |
R |
|
|
66 |
M |
R |
|
|
60 |
M |
R |
|
|
68 |
F |
R |
|
|
70 |
M |
L |
|
|
64 |
F |
R |
|
|
67 |
F |
R |
|
|
63 |
M |
R |
|
|
63 |
F |
R |
|
|
66 |
F |
R |
|
|
61 |
M |
R |
|
|
65 |
F |
R |
|
|
65 |
F |
R |
|
|
68 |
M |
R |
|
|
61 |
M |
R |
|
|
61 |
M |
R |
|
|
60 |
F |
R |
|
|
62 |
F |
R |
|
|
67 |
F |
R |
|
|
61 |
F |
R |
|
|
66 |
F |
R |
|
|
65 |
F |
R |
|
|
73 |
M |
R |
|
|
61 |
F |
R |
|
|
65 |
F |
R |
|
|
58 |
F |
R |
|
|
66 |
F |
R |
|

Trending now
This is a popular solution!
Step by step
Solved in 2 steps









