R Dataset / Package MASS / Pima.tr2


On this R-data statistics page, you will find information about the Pima.tr2 data set which pertains to Diabetes in Pima Indian Women. The Pima.tr2 data set is found in the MASS R package. You can load the Pima.tr2 data set in R by issuing the following command at the console data("Pima.tr2"). This will load the data into a variable called Pima.tr2. If R says the Pima.tr2 data set is not found, you can try installing the package by issuing this command install.packages("MASS") 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 Pima.tr2 R data set. The size of this file is about 9,332 bytes.

Diabetes in Pima Indian Women


A population of women who were at least 21 years old, of Pima Indian heritage and living near Phoenix, Arizona, was tested for diabetes according to World Health Organization criteria. The data were collected by the US National Institute of Diabetes and Digestive and Kidney Diseases. We used the 532 complete records after dropping the (mainly missing) data on serum insulin.




These data frames contains the following columns:


number of pregnancies.


plasma glucose concentration in an oral glucose tolerance test.


diastolic blood pressure (mm Hg).


triceps skin fold thickness (mm).


body mass index (weight in kg/(height in m)\^2).


diabetes pedigree function.


age in years.


Yes or No, for diabetic according to WHO criteria.


The training set Pima.tr contains a randomly selected set of 200 subjects, and Pima.te contains the remaining 332 subjects. Pima.tr2 contains Pima.tr plus 100 subjects with missing values in the explanatory variables.


Smith, J. W., Everhart, J. E., Dickson, W. C., Knowler, W. C. and Johannes, R. S. (1988) Using the ADAP learning algorithm to forecast the onset of diabetes mellitus. In Proceedings of the Symposium on Computer Applications in Medical Care (Washington, 1988), ed. R. A. Greenes, pp. 261–265. Los Alamitos, CA: IEEE Computer Society Press.

Ripley, B.D. (1996) Pattern Recognition and Neural Networks. Cambridge: Cambridge University Press.


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

Title Authored on Content type
OpenIntro Statistics Dataset - dream August 9, 2020 - 12:25 PM Dataset
OpenIntro Statistics Dataset - winery_cars August 9, 2020 - 2:38 PM Dataset
R Dataset / Package HSAUR / toothpaste March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HSAUR / pottery March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HistData / Guerry March 9, 2018 - 1:06 PM Dataset
<iframe src="https://r-data.pmagunia.com/iframe/r-dataset-package-mass-pimatr2.html" frameBorder="0" width="100%" height="307px" />
Attachment Size
dataset-16928.csv 9.11 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0

This documentation is licensed under GPLv3 or later.