make_rejection {sim2Dpredictr} | R Documentation |
Determine rejections
Description
Determine rejections
Usage
make_rejection(B, reject.threshold, test.statistic)
Arguments
B |
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. |
reject.threshold |
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
|
test.statistic |
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. |
Value
A vector of hypothesis testing rejection indicators, where 1 indicates a rejection and 0 otherwise.