| cemspc | R Documentation |
A survey of 303 students was carried out to examine the students' preferences of 6 universities (London, Paris, Milano, St. Gallen, Barcelona and Stockholm) with a 17 items questionnaire.
The first 15 variables indicate the subjects' preferences.
For a given comparison the responses are coded as 0 if the first university was preferred, 2 if the second university was preferred and 1 if no decision was made.
The variable ENG contains the knowledge of English and the variable SEX contains the gender.
cemspc
A data frame with 303 rows for the subjects containing the outcome of the 15 comparisons and the two covariates
V1London vs. Paris
V2London vs. Milano
V3Paris vs. Milano
V4London vs. St. Gallen
V5Paris vs. St. Gallen
V6Milano vs. St. Gallen
V7London vs. Barcelona
V8Paris vs. Barcelona
V9Milano vs. Barcelona
V10St. Gallen vs. Barcelona
V11London vs. Stockholm
V12Paris vs. Stockholm
V13Milano vs. Stockholm
V14St. Gallen vs. Stockholm
V15Barcelona vs. Stockholm
ENGKnowledge of English: (1) good, (2) poor
SEXGender: (1) female, (2) male
Dittrich, R., Hatzinger, R., & Katzenbeisser, W. (1998). Modelling the effect of subject-specific covariates in paired comparison studies with an application to university rankings. Applied Statistics, 47(4), 511–525.
old_par <- par(mfrow = c(4, 4))
for(i in 1:15){ barplot(table(cemspc[, i])) }
par(old_par)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.