Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Chi-square variance test

returns
a test decision for the null hypothesis that the data in vector `h`

= vartest(`x`

,`v`

)`x`

comes
from a normal distribution with variance `v`

, using
the chi-square
variance test. The alternative hypothesis is that `x`

comes
from a normal distribution with a different variance. The result `h`

is `1`

if
the test rejects the null hypothesis at the 5% significance level,
and `0`

otherwise.

performs
the chi-square variance test with additional options specified by
one or more name-value pair arguments. For example, you can change
the significance level or conduct a one-sided test.`h`

= vartest(`x`

,`v`

,`Name,Value`

)

Was this topic helpful?