Learn R Programming

hypothesize (version 0.11.0)

test_stat: Extract the test statistic from a hypothesis test

Description

Extract the test statistic from a hypothesis test

Usage

test_stat(x, ...)

# S3 method for hypothesis_test test_stat(x, ...)

Value

Numeric test statistic.

Arguments

x

a hypothesis test object

...

additional arguments to pass into the method

Examples

Run this code
w <- wald_test(estimate = 2.5, se = 0.8)
test_stat(w)

Run the code above in your browser using DataLab