CAUSE with grid approximation and fixed rho
1 2 3 4 5 |
dat |
Data (data.frame) |
seed |
Seed. Optional. |
mix_grid |
Grid of mixture parameters. Will be estimated if not provided. |
rho |
rho |
z_prior_func |
optional. Unneccessary if you provide rho. Defaults to N(0, 0.5). |
b_prior_func |
prior function for b. Defaults to N(0, 0.6) |
q_prior_func |
prior function for q. Defaults to Beta(0.1, 1) |
waic_samps |
Number of samples for calculating waic |
models |
Which models to run. 2=causal, 3=shared. Some subset of c(2,3). |
bvals |
Grid of values for b |
qvals |
Grid of values for q |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.