Description Usage Arguments Value Examples
Assessing the prior predictive distribution and calculating the replication p-value based on it.
1 2 3 4 5 6 7 |
beta |
A 2-D vector, containing the estimates in the original study and the replication study. |
se |
A 2-D vector, containing the standard errors of the estimates in the original study and the replication study. |
r_vec |
A vector, defining the prior reproducible model. Each r value corresponds to a probability of sign consistency. |
test |
A string, determining which test statistics to utilize. If not specified, the default two-sided one will be used. |
report_PI |
A boolean, denoting whether the 95% predictive interval for the estimates be reported or not. This option is only valid for two-sided test statistics. The default is FALSE. |
A list with the following components:
grid |
The detailed grid values for the hyperparameters. |
test_statistics |
The test statistics used in calculating the replication p-value. |
pvalue |
The resulting prior predictive replicaiton p-value. |
predictive_interval |
The 95% predictive interval if required. |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.