Calculating the log likelihood based on the BIC approximation.
1 |
D |
The data set of the current experiment includes covariates, exposure as 'X' and outcome as 'Y'. |
curr_exper_alphas |
Matrix. Dimensions correspond to exposure/outcome model and potential confounders. Entries 0/1 represent exlusion/inclusion of the covariate in each model. |
curr_coefsY |
Numeric of length two. Intercept and slope of the outcome model. If left NULL, the likelihood is calculated integrating out intercept and slope along with remaining coefficients. |
X_s_cut |
Numeric. The point in the experiment configuration that corresponds to the beginning of the current experiment. |
cov_cols |
The indices of the columns in D that correspond to the potential confounders. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.