Determine rejections
make_rejection(B, reject.threshold, test.statistic)A vector of hypothesis testing rejection indicators, where 1 indicates a rejection and 0 otherwise.
A vector of "true" parameter values. For inference purposes, this can be a vector of actual parameter values, or a binary vector indicating non-zero status.
A list whose first element is the rejection
criteria, e.g., the minimum t-statistic or maximum p-value for which to
reject the null hypothesis. The second element is one of
c("greater", "less", "2-tailed"), which tell the function to reject
when the values in test.statistic are greater than or less than the
threshold, the test is a 2-tailed, respectively. In the latter case the
function internally calculates the upper or lower threshold needed for the
2-tailed test.
A vector of test statistics; e.g., t-statistics or p-values that are used to determine whether or not to reject the null hypothesis.