calc_t_stat: Calculate T-statistic

View source: R/misc_functions.R

calc_t_statR Documentation

Calculate T-statistic

Description

Computes the T-statistic for a given estimate, population value, and standard error.

Usage

calc_t_stat(x, u, se)

Arguments

x

Numeric. The observed value (estimate).

u

Numeric. The hypothesized population value (null value).

se

Numeric. The standard error of the observed value.

Value

Numeric. The T-statistic computed as (x - u) / se.


emilelatour/lagree documentation built on Sept. 18, 2024, 5:19 p.m.