Extract the p-value from a hypothesis test

pval(x, ...)

# S3 method for class 'hypothesis_test'
pval(x, ...)

Arguments

x

a hypothesis test object

...

additional arguments to pass into the method

Value

Numeric p-value.

Examples

w <- wald_test(estimate = 2.5, se = 0.8)
pval(w)
#> [1] 0.001778051