Add prior distribution draws
Add n_param x n_draws
database of possible parameter draws to the model.
set_prior_distribution(model, n_draws = 4000)
model
: A causal_model
. A model object generated by make_model
.n_draws
: A scalar. Number of draws.An object of class causal_model
with the prior_distribution
attached to it.
make_model('X -> Y') |> set_prior_distribution(n_draws = 5) |> inspect("prior_distribution")
Other set: set_confound()
, set_restrictions()
Useful links