VerifyTestAssumptions

VerifyTestAssumptions
is an option to LocationTest and similar functions that controls which assumptions to verify through diagnostic tests.

DetailsDetails

  • The following settings can be used:
  • Allverify all assumptions
    Automaticautomatically select which assumptions to verify
    Nonedo not verify assumptions
    "name"verify the named assumption
    {"name1","name2",}verify several assumptions
  • The specific list of assumptions that can be verified through diagnostic tests is given for each hypothesis testing function.

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Control diagnostics as a group using All and None:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=

The -value is equivalent but a warning is issued:

In[3]:=
Click for copyable input
Out[3]=

Set diagnostics independently:

In[1]:=
Click for copyable input

Testing for normality results in a warning being issued:

In[2]:=
Click for copyable input
Out[2]=

Normality is assumed but a test for equal variances chooses a different form of the -test:

In[3]:=
Click for copyable input
Out[3]=

Turn off diagnostic testing for simulation purposes:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=

The results are identical:

In[4]:=
Click for copyable input
Out[4]=
Introduced in 2010
(8.0)