R Dataset / Package car / KosteckiDillon

On this R-data statistics page, you will find information about the KosteckiDillon data set which pertains to Treatment of Migraine Headaches. The KosteckiDillon data set is found in the car R package. You can load the KosteckiDillon data set in R by issuing the following command at the console data("KosteckiDillon"). This will load the data into a variable called KosteckiDillon. If R says the KosteckiDillon data set is not found, you can try installing the package by issuing this command install.packages("car") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the KosteckiDillon R data set. The size of this file is about 209,294 bytes.

Treatment of Migraine Headaches


Subset of data on migraine treatments collected by Tammy Kostecki-Dillon.




A data frame with 4152 observations on 133 subjects for the following 9 variables.


Patient id.


time in days relative to the onset of treatment, which occurs at time 0.


time in days from the start of the study, January 1 of the first year of the study.


a factor with levels Aura Mixed No Aura, the type of migraine experienced by a subject.


at onset of treatment, in years.


a measure of air quality.


a factor with levels none reduced continuing, representing subjects who discontinued their medication, who continued but at a reduced dose, or who continued at the previous dose.


a factor with levels no yes.


a factor with levels female male.


The data consist of headache logs kept by 133 patients in a treatment program in which bio-feedback was used to attempt to reduce migraine frequency and severity. Patients entered the program at different times over a period of about 3 years. Patients were encouraged to begin their logs four weeks before the onset of treatment and to continue for one month afterwards, but only 55 patients have data preceding the onset of treatment.


Personal communication from Georges Monette (and adapted from his description of the data).


Kostecki-Dillon, T., Monette, G., and Wong, P. (1999). Pine trees, comas, and migraines. York University Institute for Social Research Newsletter, 14:2.



Dataset imported from https://www.r-project.org.

Attachments: csv, json

<iframe src="https://pmagunia.com/iframe/r-dataset-package-car-kosteckidillon.html" width="100%" height="100%" style="border:0px"></iframe>