Description Usage Arguments Value
A neat function to summarize the results when we run a simulation for each outcome
1 | summarize_all_nof1(data_result_list, treatment_names, alpha = 0.025)
|
data_result_list |
A list of data files and result files. This is the
output of |
treatment_names |
The names of the different treatments in the trial. |
alpha |
The alpha value for the confidence interval. If no value is entered will give the 95% confidence interval. |
The function returns some useful information about the simulation. It returns the following for each outcome.
input_mean |
The mean of the data inputed for each treatment type |
input_median |
The median of the data inputed for each treatment type |
treat_mean |
The mean of the data outputed for each treatment type |
treat_median |
The median of the data outputed for each treatment type |
coef_mean |
The mean of the data outputed for each coefficient |
coef_median |
The median of the data outputed for each coefficient |
treat_greater_zero |
The probability that the output value is greater than zero for each treatment type |
coef_greater_zero |
The probability that the output value is greater than zero for each coefficient |
treat_confidence |
The confidence interval of the input data set of the output value for each treatment type |
coef_confidence |
The confidence interval of the input data set of the output value for each coefficient |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.