## BEFORE STARTING, TYPE YOUR NAME INTO THE FIELD "author" ABOVE AND REMOVE THIS COMMENT ##
Datasets for this assignment:
A random sample of 1,000 federal personnel records for March 1994:
library(dplyr)
library(ggplot2)
Load OPM94.RData
# your work
Check the value of the patco
variable using levels(opm94$patco)
command:
#
QUESTION 1:
What type is this variable? What values does it have?
Regress sal
on patco
:
#
QUESTION 2:
a) What is the reference group?
b) Interpret the intercept:
c) Interpret the coefficient on `patcoClerical`:
d) Interpret the coefficient of `patcoProfessional`:
Regress sal
on minority
and grade
:
#
QUESTION 3:
a) What is the reference group?
b) Interpret the intercept:
c) Interpret the coefficient on `minority`:
d) Interpret the coefficient on `grade`:
Regress sal
on minority
:
#
QUESTION 4:
a) Interpret the intercept:
b) Interpret the coefficient on `minority`:
c) Why is the coefficient on `minority` different in this regression compared to the previous one (with `grade` included)?
!!! Knit your report & publish it on RPubs !!!