University of Minnesota, Twin Cities School of Statistics Stat 3011 Rweb Textbook (Wild and Seber)
Suppose a random variable T has Student's t distribution with 5 degrees of freedom.
You may use the form below to answer this question.
If you want to print your results (not necessary, you can write the
R commands you used on the test paper instead),
replace "your name here"
with your actual name in quotes.
The file t2.dat contains a single variable
named height
consisting of
measurements of height in centimeters of 15 students.
You may use the form below to answer this question.
The form automatically loads this data set t2.dat (like the lecture section examples). You don't need to do anything to load the data.
Put your name on the plot
before printing it. Either
replace "your name here"
with your actual name in quotes,
or add the optional argument main="your name"
to the
plot command.
Recalculate using the computer the confidence interval we did by hand yesterday about the arthritis trial. The entire question is repeated below.
A drug company has performed a randomized controlled trial of a new nonsteroidal anti-inflammatory drug for treatment of arthritis. The control group got an old drug (ibuprofen) and the treatment group got the new drug. There were 250 patients in each group. The patients were randomly assigned to treatment or control. Treatments were deemed "successful" if the patient reported "acceptable" or better quality of life. The results were
sample size | successes | |
---|---|---|
new drug | 250 | 213 |
control | 250 | 194 |
You may use the form below to answer this question.
If you want to print your results (not necessary, you can write the
R commands you used on the test paper instead),
replace "your name here"
with your actual name in quotes.