We are going to use the data set admissions from R package dslabs, with data about applicants to graduate school of Berkeley for the six large departments in 1973, classified by admission and sex.
There are 4526 observations agrupated on 4 variables: major, that gives the department the student was admitted, addmitted, that gives the number of admitted for each department, gender and the number of applicants for each major.