Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

These two drugs were tested on a group of 10 patients.

In this assignment we consider data that examines the effect of two soporific drugs, drugs that induce sleep. These two drugs were tested on a group of 10 patients. For each of the patients the increase in hours of sleep was measured both for drug 1 and for drug 2. The source of the data is the R dataset "sleep", which quotes the paper by Cushny, A.R. and Peebles, A.R. (1905). (The action of optical isomers. II. Hyoscines. J. Physiol. 32, 501-510.) The files "sleep_paired.csv" and "sleep_unpaired.csv" contain the same data in two different formats. The first format will be used in the first part of the assignment and the second format will be used in th second part. You may download the files sleep_paired.csv and sleep_unpaired.csv using the links.

A Paired Design

A paired design corresponds to the situation where two different treatments are given to the same subject and the goal is to assess the difference between the response to the two treatments. This design was used in the original experiment. The file "sleep_paired.csv" reflects this design. It contains two variables and 10 observations. The variables are:

  • drug1
Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question