create_jags_model {causens} | R Documentation |
Create an JAGS model for Bayesian sensitivity analysis
Description
Creates a JAGS model available as a string, or .txt file, where priors are initialized to be uninformative by default.
Usage
create_jags_model(binary_outcome, beta_uy, alpha_uz)
Arguments
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. |
[Package causens version 0.0.3 Index]