The Chatterjee–Price Attitude Data
From a survey of the clerical employees of a large financial
organization, the data are aggregated from the questionnaires of the
approximately 35 employees for each of 30 (randomly selected)
departments. The numbers give the percent proportion of favourable
responses to seven questions in each department.
A data frame with 30 observations on 7 variables. The first column are
the short names from the reference, the second one the variable names
in the data frame:
Y || rating || numeric || Overall rating
X || complaints|| numeric || Handling of employee complaints
X || privileges|| numeric || Does not allow special privileges
X || learning || numeric || Opportunity to learn
X || raises || numeric || Raises based on performance
X || critical || numeric || Too critical
X || advancel || numeric || Advancement
Chatterjee, S. and Price, B. (1977)
Regression Analysis by Example.
New York: Wiley.
(Section 3.7, p.68ff of 2nd ed.(1991).)
pairs(attitude, main = "attitude data")
summary(fm1 <- lm(rating ~ ., data = attitude))
opar <- par(mfrow = c(2, 2), oma = c(0, 0, 1.1, 0),
mar = c(4.1, 4.1, 2.1, 1.1))
summary(fm2 <- lm(rating ~ complaints, data = attitude))
Dataset imported from https://www.r-project.org.