Skip to content

Commit

Permalink
Update plackett-luce.stan
Browse files Browse the repository at this point in the history
fixes #1
  • Loading branch information
bob-carpenter authored Oct 29, 2024
1 parent 34e4f49 commit c6b90f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sushi-rating/plackett-luce.stan
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ data {
int<lower=1> I; // # items
int<lower=1> K; // # items ranked per rater
int<lower=1> R; // # raters
array[R, K] int<lower=1, upper=I> y; // rankings (y[r, 1] < y[r, 2] < ...)
array[R, K] int<lower=1, upper=I> y; // rankings (y[r, 1] > y[r, 2] > ...)
}
parameters {
simplex[I] beta; // item quality
simplex[I] beta; // item quality
}
model {
for (r in 1:R) {
Expand Down

0 comments on commit c6b90f7

Please sign in to comment.