Represents a test that the population variance of a NumericalVariable is equal to a specific value.

Namespace: Extreme.Statistics.Tests
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Class OneSampleChiSquareTest _
	Inherits OneSampleTest
C#
public class OneSampleChiSquareTest : OneSampleTest
C++
public ref class OneSampleChiSquareTest : public OneSampleTest

Methods

IconTypeDescription
CalculateStatistic()
Calculates the value of the statistic used for this test.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
Finalize()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GetConfidenceInterval(Double)
Returns the confidence interval for the variance of the population for the specified confidence level.
GetHashCode()
Serves as a hash function for a particular type.
GetLowerCriticalValue()
Gets the lower critical value for the hypothesis test's current significance level.
GetLowerCriticalValue(Double)
Gets the lower critical value for the hypothesis test at the specified significance level.
GetType()
Gets the Type of the current instance.
GetUpperCriticalValue()
Gets the upper critical value for the test statistic at the hypothesis test's current significance level.
GetUpperCriticalValue(Double)
Gets the upper critical value for the test statistic at the specified significance level.
MemberwiseClone()
Creates a shallow copy of the current Object.
Reject()
Returns a value that indicates whether the null hypothesis is rejected using the default significance level.
Reject(Double)
Returns a value that indicates whether the null hypothesis is rejected using the specified significance level.
ToString()
Returns a String that represents the current Object.

Constructors

IconTypeDescription
OneSampleChiSquareTestNew()
Constructs a new OneSampleChiSquareTest.
OneSampleChiSquareTestNew(NumericalVariable, Double)
Constructs a new OneSampleChiSquareTest for the specified NumericalVariable.
OneSampleChiSquareTestNew(NumericalVariable, Double, HypothesisType)
Constructs a new OneSampleChiSquareTest for the specified NumericalVariable with known variance.
OneSampleChiSquareTestNew(Int32, Int32, Double)
Constructs a new OneSampleChiSquareTest for a sample with the specified parameters.
OneSampleChiSquareTestNew(Int32, Int32, Double, HypothesisType)
Constructs a new OneSampleChiSquareTest for a sample with the specified parameters.

Properties

IconTypeDescription
Distribution
Sets the probability distribution used in the hypothesis test.
HypothesisType
Gets or sets a value that indicates whether the test is one or two-tailed.
PValue
Gets the probability that the test statistic would take on the calculated value under the null hypothesis.
Sample
Gets or sets the variable the test is to be applied to.
SampleSize
Gets or sets the size of the sample.
SampleVariance
Gets or sets the variance of the sample.
SignificanceLevel
Gets the significance level used to test the null hypothesis.
Statistic
Gets the value of the test statistic.
Variance
Gets or sets the proposed variance.

Remarks

Use the OneSampleChiSquareTest class to test the hypothesis that the variance of a variable variable is equal to a specified value.

The sample data can be supplied either as a NumericalVariable, or by specifying the SampleVariance and the SampleSize.

A confidence interval for the variance of the sample can be obtained using the GetConfidenceInterval(Double) method.

Inheritance Hierarchy

System.Object
  Extreme.Statistics.Tests.HypothesisTest
    Extreme.Statistics.Tests.OneSampleTest
      Extreme.Statistics.Tests.OneSampleChiSquareTest