pValT: Calculates t, 2-tailed p value, pAlpha CI

View source: R/statFuncs.R

pValTR Documentation

Calculates t, 2-tailed p value, pAlpha CI

Description

Calculates t, 2-tailed p value, pAlpha CI

Usage

pValT(pDiff, sE, pAlpha = 0.95, pTails = 2)

Arguments

pDiff

The difference between the two raw scores of interest, or a parameter estimate.

sE

The applicable standard error for the difference or estimate.

pTails

Number of tails (default 2). Any value other than 2 produces a 1-tailed result.

Value

A vector with three values: the t-ratio, the two-tailed p-value, and the pAlpha confidence limits.


johninpdx/JMLUtils documentation built on Dec. 29, 2024, 1:27 p.m.