View source: R/bayesian_causens.R
create_jags_model | R Documentation |
Creates a JAGS model available as a string, or .txt file, where priors are initialized to be uninformative by default.
create_jags_model(binary_outcome, beta_uy, alpha_uz)
binary_outcome |
Boolean indicating whether the outcome is binary. |
beta_uy |
Prior distribution for the effect of the missing confounder U on the outcome Y. |
alpha_uz |
Prior distribution for the effect of the missing confounder U on the treatment assignment mechanism Z. No inputs are given to this function (for now) since data-related information is provided in jags.model() during model initialization. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.