multHypothesis {ResearchMethods}R Documentation

The effect of multiple hypothesis testing

Description

Using a tcltk Graphical User Interface (GUI), this function demonstrates the pontential dangers involved in testing multiple hypotheses with dependent data.

Usage

  multHypothesis(GUI=TRUE,alpha=0.05,hyp=1)

Arguments

GUI A boolean value that lets the user turn the control window off, to allow the function to be embeded in other code.
alpha The initial significance level.
hyp The initial number of hypotheses being tested.

Details

The function creates one or two windows. The optional GUI window allows the user to set the significance level, alpha, and to change in real time the number of hypotheses being tested, k. The other window is a plot of the potential chance of a false rejection of the null hypothesis, with indicators marked in red of the exact probability at the current number of tests.

Value

No tangible value is returned, though the enviroment MHenv is left so the user can access the variables.

Author(s)

Mohamed Abdolell <mohamed.abdolell@dal.ca> and Sam Stewart <samstewart11@gmail.com>

Examples

# The simplest way to run the function, with the GUI active
multHypothesis()

#running it without a GUI
multHypothesis(GUI=FALSE)

#Starting with initial values
multHypothesis(alpha=0.1,hyp=10)

[Package ResearchMethods version 1.01 Index]