powered by
Extract the test statistic from a hypothesis test
test_stat(x, ...)# S3 method for hypothesis_test test_stat(x, ...)
# S3 method for hypothesis_test test_stat(x, ...)
Numeric test statistic.
a hypothesis test object
additional arguments to pass into the method
w <- wald_test(estimate = 2.5, se = 0.8) test_stat(w)
Run the code above in your browser using DataLab