You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using Tilde
model = @model (y, L) begin
n = length(y)
η ~ Tilde.MvNormal(μ=zeros(n), σ=L)
for j in 1:n
y[j] ~ Tilde.Bernoulli(logitp = η[j])
end
end
y1 = rand(Bool, 10)
L1 = randn(10,10)
post = model(y1, L1) | (;y1)
ℓ1(θ) = logdensityof(post, (;η=θ))
ℓ1(rand(10))
works. But
gives
The text was updated successfully, but these errors were encountered: