TTEST: Independent two groups t-test comparable to PROC TTEST

View source: R/TTEST.R

TTESTR Documentation

Independent two groups t-test comparable to PROC TTEST

Description

This is comparable to SAS PROC TTEST.

Usage

  TTEST(x, y, conf.level=0.95)

Arguments

x

a vector of data from the first (test, active, experimental) group

y

a vector of data from the second (reference, control, placebo) group

conf.level

confidence level

Details

Caution on choosing the row to use in the output.

Value

The output format is comparable to SAS PROC TTEST.

Author(s)

Kyun-Seop Bae k@acr.kr

See Also

mtest, tmtest, ztest

Examples

  TTEST(mtcars[mtcars$am==1, "mpg"], mtcars[mtcars$am==0, "mpg"])

sasLM documentation built on Nov. 19, 2023, 5:12 p.m.