welch_test: Simple implementation of a welch test.

View source: R/WWER.R

welch_testR Documentation

Simple implementation of a welch test.

Description

This tests the null hypothesis abs(beta1) = abs(beta2) against the two alternatives abs(beta1) > abs(beta2) and abs(beta1) < abs(beta2).

Usage

welch_test(beta1, se1, beta2, se2, welch_thresh = 0.05)

Arguments

beta1

Float or vector of floats, mean of the first sample.

se1

Float or vector of floats, SD of estimate of mu1.

beta2

Float or vector of floats, mean of the second sample.

se2

Float or vector of floats, SD of estimate of mu2.

welch_thresh

Float, p_value threshold for significance.


brielin/WWER documentation built on May 22, 2022, 7:28 p.m.