Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Data Manipulation > Statistical Data Analysis > Hypothesis Tests > AlternativeHypothesis >
Mathematica > Mathematics and Algorithms > Statistical Data Analysis > Hypothesis Tests > AlternativeHypothesis >
Mathematica > Data Manipulation > Statistical Data Analysis > Probability & Statistics > Hypothesis Tests > AlternativeHypothesis >

AlternativeHypothesis

AlternativeHypothesis
is an option for hypothesis testing functions like LocationTest that specifies the alternative hypothesis.
  • For a hypothesis test with test statistic , AlternativeHypothesis can be used to test the null hypothesis against particular alternatives .
  • Typical settings include:
"Unequal" and
"Less" and
"Greater" and
Perform a two-sided test for location:
The setting is chosen by default:
Perform one of the two one-sided alternatives:
Perform a two-sided test for location:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
The setting is chosen by default:
In[3]:=
Click for copyable input
Out[3]=
 
Perform one of the two one-sided alternatives:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
The -value from a two-sided test is twice the smaller one-sided -value:
The interpretation of a two-sided test:
The -value can be interpreted as an area under the distribution of the test statistic:
Interpretation of both one-sided alternatives:
The areas are equivalent to the -values returned by the test:
New in 8
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF