Learn R Programming

saemix (version 3.3)

knee.saemix: Knee pain data

Description

The knee.saemix data represents pain scores recorded in a clinical study in 127 patients with sport related injuries treated with two different therapies. After 3,7 and 10 days of treatment the pain occuring during knee movement was observed.

Usage

knee.saemix

Arguments

Format

This data frame contains the following columns:

id

subject index in file

time

time of measurement (in days)

y

knee pain (0=none to 4=severe)

Age

patient age (scaled and centered)

Sex

patient gender (0=male, 1=female)

RD

moderate knee pain (defined as pain score 2 or more)

treatment

treatment indicator (0=placebo, 1=treatment)

Age2

patient age, squared (Age^2)

#'

Details

The data in the knee.saemix was reformatted from the knee dataset provided by the catdata package (see data(knee, package="catdata")). A time column was added representing the day of the measurement (with 0 being the baseline value) and each observation corresponds to a different line in the dataset. Treatment was recoded as 0/1 (placebo/treatment), gender as 0/1 (male/female) and Age2 represents the squared of centered Age.

Please refer to the PDF documentation (chapter 4, section 4.6) for more details on the analysis, including examples of diagnostic plots.

References

G Tutz (2012), Regression for Categorical Data, Cambridge University Press.

#' @examples data(knee.saemix)

#' @keywords datasets