autoStdAnylsis: Run statistical tests according to OECD guidelines

Description Usage Arguments Value Author(s) References

View source: R/autoStdAnylsis.R

Description

Runs tests following the flow chart outlined in the OECD guidelines for the tier II tests for endocrine disruptors. The basic outline of the flow chart is as follows: 1) if the data is monotonic run a jonckheere Terpstra trend test, 2) is the data is not monotonic but is still normally distributed, run a Dunnett's test, 3) if the data is not monotonic and not normally distributed run a Dunns test.

Usage

1
2
autoStdAnylsis(Data, Response, TreatmentVar, Transform, WeightsVar, TimeVar, 
TestDirection, ReplicateVar, AlphaLevel)

Arguments

Data

A data set.

Response

The name (as a string) of the response variable.

TreatmentVar

The name (as a string) of the treatment variable.

Transform

The name (as a string) of the transformation of the response variable. Can take on the values of c('Transformation', 'None', 'Log', log+1', 'Square_Root', 'Arcsin', 'Rank').

WeightsVar

The name (as a string) of the column containing the ANOVA weights.

TimeVar

The name (as a string) of the Time variable.

TestDirection

The direction of the hypothesis test. Can take on any of the values of: c('Decreasing', 'Increasing', 'Both').

ReplicateVar

The name (as a string) of the replicate variable.

AlphaLevel

The alpha level used in the Jonckheere-Terpstra test for trend. See (jonckheereTerpstraTest).

Value

See the following function for details on the analysis.

Jonckheere

Jonckheere-Terpstratest test see jonckheereTerpstraTest.

Dunns

A Dunns test see dunnsTest.

Dunnet

A Dunnet test see oneWayDunnettTest.

Author(s)

Joe Swintek

References

OECD, 2015, Test No. 240: Medaka Extended One Generation Reproduction Test (MEOGRT), OECD Publishing, Paris. \ DOI: http://dx.doi.org/10.1787/9789264242258-en


StatCharrms documentation built on June 10, 2018, 5:04 p.m.