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.47 0.34
#> X.1 0.53 0.34
#> Y.00 0.20 0.17
#> Y.10 0.37 0.18
#> Y.01 0.30 0.19
#> Y.11 0.14 0.10