cws2: Corrected Welch-Satterthwaite Calculation for Two Components

View source: R/cws.R

cws2R Documentation

Corrected Welch-Satterthwaite Calculation for Two Components

Description

Convenience wrapper for the corrected Welch-Satterthwaite calculation with two variance components.

Usage

cws2(s2_1, s2_2, nu_1, nu_2, w1 = 1, w2 = 1)

Arguments

s2_1

First estimated variance component.

s2_2

Second estimated variance component.

nu_1

Degrees of freedom for the first component.

nu_2

Degrees of freedom for the second component.

w1

Positive first-component weight.

w2

Positive second-component weight.

Value

A single numeric corrected effective degrees of freedom.

Examples

cws2(2, 3, 10, 20)
cws2(4, 9, 5, 8, w1 = 2, w2 = 3)

correctedWS documentation built on Nov. 23, 2026, 5:08 p.m.