R Dataset / Package mi / CHAIN


On this Picostat.com statistics page, you will find information about the CHAIN data set which pertains to Subset of variables from the CHAIN project. The CHAIN data set is found in the mi R package. You can load the CHAIN data set in R by issuing the following command at the console data("CHAIN"). This will load the data into a variable called CHAIN. If R says the CHAIN data set is not found, you can try installing the package by issuing this command install.packages("mi") and then attempt to reload the data. 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 CHAIN R data set. The size of this file is about 15,057 bytes.

Subset of variables from the CHAIN project


The CHAIN project was a longitudinal cohort study of people living with HIV in New York City, which was recruited in 1994 from a large number of medical care and social service agencies serving HIV in New York City. This subset of data pertain to the sixth round of interviews.




A data.frame with 532 observations on the following 8 variables.


log of self reported viral load level, where zero represents an undetectable level.


age at time of the interview


annual family income in 10 intervals


a continuous scale of physical health with a theoretical range between 0 and 100 where better health is associated with higher scale values


a binary measure of poor mental health ( 1=Yes, 0=No )


ordered interval for the CD4 count, which is an indicator of how much damage HIV has caused to the immune system


a three-level ordered variable: 0=Not currently taking HAART (Highly Active AntiretRoviral Therapy) 1=taking HAART but nonadherent, 2=taking HAART and adherent


A missing value in the log virus load level was assigned to individuals who either could not recall their viral load level, did not have a viral load test in the six month preceding the interview, or reported their viral loads as "good" or "bad".




Messeri P, Lee G, Abramson DA, Aidala A, Chiasson MA, Jones JD. (2003). “Antiretroviral therapy and declining AIDS mortality in New York City”. Medical Care 41:512–521.


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

Title Authored on Content type
R Dataset / Package psych / bfi March 9, 2018 - 1:06 PM Dataset
OpenIntro Statistics Dataset - scotus_healthcare August 9, 2020 - 2:38 PM Dataset
R Dataset / Package psych / withinBetween March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Stat2Data / Kids198 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / Wages1 March 9, 2018 - 1:06 PM Dataset
Attachment Size
dataset-38134.csv 14.7 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0