sim.test: A test on simulated data

Description Usage Arguments Value Author(s)

View source: R/tcomp.R

Description

applies a test to simulated one-way ANOVA data sets.

Usage

1
sim.test (r, ng, ns, moy, varg, vars, method = "def.t")

Arguments

r

the number of simulated data sets.

ng

the number of groups in a data set.

ns

the number of subjects per group.

moy

the overall mean.

varg

the variance of group means.

vars

the variance within a group.

method

a character value specifying which t-test to apply. "def.t" (by default) indicates the standard t-test and "mod.t", the modified t-test.

Value

Returns a vector of p-values from the selected test.

Author(s)

Sewanou Honfo <honfosewanou@gmail.com> and Romain Glèlè Kakaï <glele.romain@gmail.com>/ LABEF_07_2019


Sewanou/ProjectSC2019 documentation built on Oct. 30, 2019, 11:52 p.m.