This might be very obvious but I am not seeing it. Normally, if one wants to set one variable out of an array as 'reference', the easiest thing to do is subtract.
e.g
[1,4,10,9,6]
set item 2 at reference,
[-3,0,6,5,2].
How can the original be recovered?
I am using the BradleyTerry2 package in R where the abilities are always referenced, but I would like to recover all of them
> library("BradleyTerry2")
>
> dat<-data.frame('winner'=c('lakers','bucks','wizards'),'loser'=c('bucks','wizards','lakers'))
>
> model<-BTm(1,winner,loser,data=dat,refcat='bucks')
>
> BTabilities(model)
ability s.e.
bucks 0.000000e+00 0.000000
lakers -1.812987e-16 1.632993
wizards -3.625973e-16 1.632993
> model<-BTm(1,winner,loser,data=dat,refcat='lakers')
> BTabilities(model)
ability s.e.
bucks 1.570092e-16 1.632993
lakers 0.000000e+00 0.000000
wizards 0.000000e+00 1.632993