ttestbootstrap: ttestbootstrap Function

Description Usage Arguments Value Examples

Description

ttestbootstrap Function

Usage

1
ttestbootstrap(vGroup1, vGroup2, nbootstrap = 1e+05)

Arguments

vGroup1

A numerical vector corresponding to the values of the first group

vGroup2

A numerical vector corresponding to the values of the second group

nbootstrap

The number of bootstrap simulation should be > 100 x (nGroup1 + nGroup1)

Value

the pvalue calculated by the a simulation of the null hypothesis distribution by bootstrap

Examples

1
ttestbootstrap(vGroup1=rnorm(30,0,1), vGroup2 = rnorm(30,2,1), nbootstrap = 1000)

NicolasEDubois/TtestBootstrap documentation built on May 14, 2019, 10:34 p.m.