Add `n_param x n_draws` database of possible parameter draws to the model.
Arguments
- model
A
causal_model
. A model object generated bymake_model
.- n_draws
A scalar. Number of draws.
See also
Other set:
set_confound()
,
set_restrictions()
Examples
make_model('X -> Y') |>
set_prior_distribution(n_draws = 5) |>
inspect("prior_distribution")
#>
#> prior_distribution
#> Summary statistics of model parameters prior distributions:
#>
#> Distributions matrix dimensions are
#> 5 rows (draws) by 6 cols (parameters)
#>
#> mean sd
#> X.0 0.35 0.30
#> X.1 0.65 0.30
#> Y.00 0.27 0.30
#> Y.10 0.17 0.07
#> Y.01 0.21 0.14
#> Y.11 0.35 0.21