R Dataset / Package psych / Harman.5


On this R-data statistics page, you will find information about the Harman.5 data set which pertains to 5 socio-economic variables from Harman (1967). The Harman.5 data set is found in the psych R package. You can load the Harman.5 data set in R by issuing the following command at the console data("Harman.5"). This will load the data into a variable called Harman.5. If R says the Harman.5 data set is not found, you can try installing the package by issuing this command install.packages("psych") 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 Harman.5 R data set. The size of this file is about 441 bytes.

5 socio-economic variables from Harman (1967)


Harman (1967) uses 5 socio-economic variables for demonstrations of principal components and factor analysis. This example is used in the SAS manual for Proc Factor as well.




A data frame with 12 observations on the following 5 variables.


a numeric vector


a numeric vector


a numeric vector


a numeric vector


a numeric vector


Harman reports that the data "were taken (not entirely arbitrarily) from a study of the Los Angeles Standard Metropolitan Statistical Area. The twelve individuals are used in the examples are census tracts." (p 13).


Harman, Harry Horace (1967), Modern factor analysis. Chicago, University of Chicago Press.


SAS users manual, chapter 26: pages 1123-1192


pc2 <- principal(Harman.5,2,scores=TRUE)
biplot(pc2,main="Biplot of the Harman 5 socio-demographic variables") }

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
Attachment Size
dataset-86456.csv 441 bytes
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0

This documentation is licensed under GPLv3 or later.