make_prior_distribution function

Make a prior distribution from priors

Make a prior distribution from priors

Create a n_paramx n_draws database of possible lambda draws to be attached to the model.

make_prior_distribution(model, n_draws = 4000)

Arguments

  • model: A causal_model. A model object generated by make_model.
  • n_draws: A scalar. Number of draws.

Returns

A data.frame with dimension n_paramx n_draws of possible lambda draws

Examples

make_model('X -> Y') |> CausalQueries:::make_prior_distribution(n_draws = 5)