Description Usage Arguments Value
Wrapper function to analyze bayesian trials.
1 |
input |
list. Input function for all the analysis. |
type |
character. Type of analysis to be ran (binomial (default), normal. etc.). |
.data |
NULL. stores the all the details, please do not fill it in. |
a list with results of the analysis of bayesian trial.
prob_of_accepting_alternativescalar. The input parameter of probability of accepting the alternative.
marginscalar. The margin input value of difference between mean estimate of treatment and mean estimate of the control.
alternativecharacter. The input parameter of alternative hypothesis.
N_treatmentscalar. The number of patients enrolled in the experimental group for each simulation.
N_controlscalar. The number of patients enrolled in the control group for each simulation.
N_enrolledvector. The number of patients enrolled in the trial (sum of control and experimental group for each simulation. )
N_completescalar. The number of patients who completed the trial and had no loss to follow-up.
post_prob_accept_alternativevector. The final probability of accepting the alternative hypothesis after the analysis is done.
est_finalscalar. The final estimate of the difference in posterior estimate of treatment and posterior estimate of the control group.
stop_futilityscalar. Did the trial stop for futility during imputation of patient who had loss to follow up? 1 for yes and 0 for no.
stop_expected_successscalar. Did the trial stop for early success during imputation of patient who had loss to follow up? 1 for yes and 0 for no.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.