maxTest_error {EquiTrends} | R Documentation |
Additional input checks for the maxEquivTest function
Description
This function checks additonal inputs specific to the maxEquivTest function.
Usage
maxTest_error(type, equiv_threshold, vcov, B)
Arguments
type |
the type of test for the maximum absolute placebo coefficient to be conducted; must be one of "IU", "Boot" or "Wild". |
equiv_threshold |
the equivalence threshold for the test. Must be a numeric scalar or NULL. |
vcov |
the variance-covariance matrix estimator. See |
B |
the number of bootstrap iterations. Must be a numeric integer scalar. |
Value
A list with two elements: error
a logical value indicating whether an error was found, and message
a character string with the error message. If no error was found, error
is FALSE
and message
is empty.
[Package EquiTrends version 1.0.0 Index]