Skip to content

Commit 36e2a91

Browse files
authored
Merge pull request #295 from stan-dev/avehtari-patch-2
Fix argument type in 2pl_latent_reg_irt
2 parents ecc083d + 006bee7 commit 36e2a91

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

posterior_database/models/stan/2pl_latent_reg_irt.stan

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ model {
6464
alpha ~ lognormal(1, 1);
6565
target += normal_lpdf(beta | 0, 3);
6666
lambda_adj ~ student_t(3, 0, 1);
67-
theta ~ normal(W_adj * lambda_adj, 1);
67+
theta ~ normal(W_adj * lambda_adj, 1.0);
6868
y ~ bernoulli_logit(alpha[ii] .* theta[jj] - beta[ii]);
6969
}
7070
generated quantities {

posterior_database/models/stan/gpcm_latent_reg_irt.stan

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ transformed parameters {
8282
model {
8383
alpha ~ lognormal(1, 1);
8484
target += normal_lpdf(beta | 0, 3);
85-
theta ~ normal(W_adj * lambda_adj, 1);
85+
theta ~ normal(W_adj * lambda_adj, 1.0);
8686
lambda_adj ~ student_t(3, 0, 1);
8787
for (n in 1 : N) {
8888
target += pcm(y[n], theta[jj[n]] .* alpha[ii[n]],

posterior_database/models/stan/grsm_latent_reg_irt.stan

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ model {
7575
alpha ~ lognormal(1, 1);
7676
target += normal_lpdf(beta | 0, 3);
7777
target += normal_lpdf(kappa | 0, 3);
78-
theta ~ normal(W_adj * lambda_adj, 1);
78+
theta ~ normal(W_adj * lambda_adj, 1.0);
7979
lambda_adj ~ student_t(3, 0, 1);
8080
for (n in 1 : N) {
8181
target += rsm(y[n], theta[jj[n]] .* alpha[ii[n]], beta[ii[n]], kappa);

0 commit comments

Comments
 (0)