hr {CMHNPA} | R Documentation |
Human resource ranking data.
data(hr)
A data frame with 50 rows and three columns.
the applicant to which ratings are applied
the ranking from made by the committee member
member of the selection panel that ranks five candidates
Applications for a position are vetted and ranked by Human Resource (HR) professionals. The top five are interviewed by a selection committee of ten. Each member of the committee gives an initial ranking of the applicants and no one on the committee sees either the ranking by the HR professionals or the initial rankings of the other committee members. Ties are not permitted in any ranking. It is of interest to know if the rankings of the HR professionals and the initial rankings of the selection committee are correlated.
Rayner, J.C.W and Livingston, G. C. (2022). An Introduction to Cochran-Mantel-Haenszel Testing and Nonparametric ANOVA. Wiley.
attach(hr)
a_ij = matrix(1:5,ncol=10,nrow=5)
b_hj = matrix(1:5,ncol=10,nrow=5)
CMH(treatment = applicant, response = applicant_ranking,
strata = committee_member, a_ij = a_ij, b_hj = b_hj,
test_OPA = FALSE, test_GA = FALSE, test_MS = FALSE)