p_value: Compute Two-sided p-Values under the Normal Distribution

View source: R/operations.R

p_valueR Documentation

Compute Two-sided p-Values under the Normal Distribution

Description

Compute Two-sided p-Values under the Normal Distribution

Usage

p_value(x, deg_free)

Arguments

x

A numeric vector

deg_free

Degrees of freedom under the null hypothesis distribution

Details

This convenience function computes the probabilities of a vector of values under the distribution assumed by the null hypothesis. I am legally obliged to note this is not remotely the same thing as the probability of a genuine effect.

Value

Vector of computed p-values


ryan-heslin/RegLesson documentation built on Aug. 5, 2022, 9:03 p.m.