From 6936dcac7782df5e192ad1dc8b761663c22de4a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IT=C3=94=2C=20Hiroki?= Date: Wed, 14 Nov 2018 13:07:48 +0900 Subject: [PATCH] =?UTF-8?q?Update=20=E3=82=B3=E3=83=A1=E3=83=B3=E3=83=88?= =?UTF-8?q?=E3=81=AE=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example3-1_model.txt | 2 ++ example3_model.txt | 1 + 2 files changed, 3 insertions(+) diff --git a/example3-1_model.txt b/example3-1_model.txt index c9a1890..fdb80d6 100644 --- a/example3-1_model.txt +++ b/example3-1_model.txt @@ -16,6 +16,8 @@ model { mu[i] <- beta + beta.1 * X1[i] + beta.2 * X2[i] + e.B[B[i]] } + + # Prior of the random effect for (i in 1:M) { e.B[i] ~ dnorm(0, tau.B) } diff --git a/example3_model.txt b/example3_model.txt index 6d1604f..035e08a 100644 --- a/example3_model.txt +++ b/example3_model.txt @@ -16,6 +16,7 @@ model { mu[i, j] <- beta + beta.1 * X1[i, j] + beta.2 * X2[i, j] + e.B[i] } + # Prior of the random effect e.B[i] ~ dnorm(0, tau.B) }