Learn R Programming

R330 (version 1.0)

salary.df: Study of Supervisor Performance

Description

A survey of the clerical employment of a large financial organisation included questions related to employee satisfaction with their supervisors, designed to determine the overall effectiveness of the supervisor

Usage

data(salary.df)

Arguments

Format

A data frame with 31 observations on the following 6 variables:
X1
Handles employee conplaints
X2
Does not allow special privileges
X3
Opportunity to learn new things
X4
Raises based on performances
X5
Too critical of poor performances
Y
Overall rating of job being done by supervisor

Source

S. Chatterjee, A.S. Hadi and B. Price, Regression Analysis by Example, p56

References

S. Chatterjee, A.S. Hadi and B. Price, (2000). Regression Analysis by Example (3rd Ed), Wiley, New York.

Examples

Run this code
data(salary.df)
salary.lm<-lm(Y~X1+X2+X3+X4+X5,data=salary.df)
resids<-residuals(salary.lm)
pred<-fitted.values(salary.lm)
plot(pred,resids,type="n")
ncases<-length(resids)
text(pred,resids,1:ncases)

Run the code above in your browser using DataLab