Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesNaegele committed May 6, 2024
1 parent 6b8f2b5 commit 42c75bf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion examples/bayesian.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ priors_dict = @parameters begin
α_1 = Uniform()
α_2 = Uniform()
end
unobserved = @variables Y, T, YD, C

# let's say we know that some kind of variables is prone to measurement error
# if it is just a constant, we can introduce some bias variable
Expand Down Expand Up @@ -72,4 +73,8 @@ df[!, :period] = 1:nrow(df)
y=:value,
color=:variable,
Geom.line
)
)

function loglikelihood(results, model, exos, params_dict, unobserved, particles=10000)
# return log(sum(...))
end

0 comments on commit 42c75bf

Please sign in to comment.