Description Usage Arguments Value Author(s) Examples
Computes the log posterior density of the talent parameters and the log standard deviation for a Bradley Terry model with normal random effects
1 | bradley.terry.post(theta,data)
|
theta |
vector of talent parameters and log standard deviation |
data |
data matrix with columns team1, team2, wins by team1, and wins by team2 |
value of the log posterior
Jim Albert
1 2 3 4 | data(baseball.1964)
team.strengths=rep(0,10)
log.sigma=0
bradley.terry.post(c(team.strengths,log.sigma),baseball.1964)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.