DOCUMENTATION CENTER SEARCH
Hypothesis Testing Package
>
Hypothesis Testing
Package Symbol
Hypothesis Testing Package
Tutorials »
|
ChiSquareCI
ChiSquareDistribution
See Also »
|
Hypothesis Testing Package
More About »
ChiSquarePValue
ChiSquarePValue[
x
,
df
]
gives the cumulative probability beyond
x
for the
2
distribution with
df
degrees of freedom.
MORE INFORMATION
To use
ChiSquarePValue
, you first need to load the
Hypothesis Testing Package
using
Needs
["HypothesisTesting`"]
.
The one-sided
p
-value is
CDF
[
ChiSquareDistribution
[
df
],
x
]
if
x
is less than the median of the
2
distribution with
df
degrees of freedom, and
1-
CDF
[
ChiSquareDistribution
[
df
],
x
]
otherwise.
The two-sided
p
-value is twice the one-sided
p
-value.
The following options can be given:
TwoSided
False
whether to perform a two-sided test
EXAMPLES
CLOSE ALL
Basic Examples
(1)
Needs["HypothesisTesting`"]
The p-value for 10 in a
2
distribution with 5 degrees of freedom:
In[2]:=
Out[2]=
Options
(1)
SEE ALSO
ChiSquareCI
ChiSquareDistribution
TUTORIALS
Hypothesis Testing Package
MORE ABOUT
Hypothesis Testing Package
© 2008 Wolfram Research, Inc.