Upfront
I am not a statistician but a medical doctor. I have a working knowledge of statistical methods in my field, but this is my first time with pairwise comparisons and due to a lack of formal math training I am having a hard time to get into this new field. This is one of the questions with a pledge for simple worded answers.
Object of research
I have 8 dietary supplements and want to know, if they differ in taste and if so, which is best. So I asked 37 people to do pairwise comparisons of random pairs. I got 224 observations/votes.
Methods
Internet research suggests, that this should be evaluated via Bradley-Terry analysis and I found the BradleyTerry2
package for R
and followed their vignette. The result of a simple call to the BTm
modelling function is this:
Call:
BTm(outcome = adm$winner == "A", player1 = adm$A, player2 = adm$B)
Deviance Residuals:
Min 1Q Median 3Q Max
-2.3883 -0.6068 0.2195 0.7277 2.5585
Coefficients:
Estimate Std. Error z value Pr(>|z|)
..2 -2.2017 0.5024 -4.382 1.17e-05 ***
..3 -1.3414 0.4659 -2.879 0.003991 **
..4 1.4892 0.5862 2.540 0.011070 *
..5 1.1937 0.5293 2.255 0.024112 *
..6 -1.5988 0.4932 -3.241 0.001189 **
..7 -1.7452 0.4896 -3.564 0.000365 ***
..8 -2.5201 0.5231 -4.817 1.46e-06 ***
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
(Dispersion parameter for binomial family taken to be 1)
Null deviance: 310.53 on 224 degrees of freedom
Residual deviance: 185.07 on 217 degrees of freedom
AIC: 199.07
Number of Fisher Scoring iterations: 5
So the function chose "1" to be the reference category and fixed the ability of that to 0
and positioned all other supplements with estimates and standard errors of estimates around that. As all of these estimates are significantly different from 0
, I can conclude, that these supplements vary significantly in taste.
Now the next step (chapter 4, page 11, in https://cran.r-project.org/web/packages/BradleyTerry2/vignettes/BradleyTerry.pdf ), according to the package's vignette, is to calculate "quasi variances", which leads to the following table:
estimate SE quasiSE quasiVar
1 0.000000 0.0000000 0.3657419 0.13376715
2 -2.201721 0.5023954 0.3183952 0.10137549
3 -1.341350 0.4659285 0.2914081 0.08491867
4 1.489221 0.5861939 0.5199500 0.27034804
5 1.193664 0.5292600 0.4656436 0.21682395
6 -1.598792 0.4932263 0.3113142 0.09691653
7 -1.745216 0.4896299 0.3092022 0.09560602
8 -2.520092 0.5231470 0.3418877 0.11688718
I am having a hard time trying to understand, what is happening here and why we do this. Apparently, "1" now has a standard error, too, and all other standard errors have become a little smaller. This allows me to draw a plot of the estimates with 1.96 times their quasi standard error:
In the original model, the estimate of "4" was significantly different from 0
, but now the error bars of "1" and "4" do overlap a lot. This appears to be a contradiction: Are the estimates of "1" and "4" significantly different, or are they not?
Specific questions
- How do I properly do an omnibus test on the Bradley-Terry model to proove, that it performs significantly better then a null model, i. e. that my supplements differ in taste?
- Is the original model or the "quasi-variances-thing" the best way, to present my model and how can I do inference on whether the differences between two arbitrary supplements are significant?
- Please give or point to an explanation of why (not how) we compute quasi variances in this context in as simple terms as possible.