Extreme Optimization™: Complexity made simple.

Numerical Components
for .NET

  • Home
  • Features
    • Math Library
    • Vector and Matrix Library
    • Statistics Library
    • Performance
    • Usability
  • Documentation
    • Introduction
    • Math Library User's Guide
    • Vector and Matrix Library User's Guide
    • Statistics Library User's Guide
    • Reference
  • Resources
    • Downloads
    • QuickStart Samples
    • Sample Applications
    • Frequently Asked Questions
    • Technical Support
  • Blog
  • Order
  • Company
    • About us
    • Testimonials
    • Customers
    • Press Releases
    • Careers
    • Contact us
Introduction
Deployment Guide
Using Parallelism
Expand Mathematics Library User's GuideMathematics Library User's Guide
Expand Vector and Matrix Library User's GuideVector and Matrix Library User's Guide
Expand Statistics Library User's GuideStatistics Library User's Guide
Expand ReferenceReference
  • Home
    • Features
    • Solutions
    • Documentation
    • QuickStart Samples
    • Sample Applications
    • Downloads
    • Technical Support
    • Download trial
    • How to buy
    • Blog
    • Company
    • Resources
  • Documentation
    • Introduction
    • Deployment Guide
    • Using Parallelism
    • Mathematics Library User's Guide
    • Vector and Matrix Library User's Guide
    • Statistics Library User's Guide
    • Reference
  • Reference
    • Extreme.Mathematics Namespace
    • Extreme.Mathematics.Algorithms Namespace
    • Extreme.Mathematics.Calculus Namespace
    • Extreme.Mathematics.Calculus.OrdinaryDifferentialEquations Namespace
    • Extreme.Mathematics.Curves Namespace
    • Extreme.Mathematics.Curves.Nonlinear Namespace
    • Extreme.Mathematics.EquationSolvers Namespace
    • Extreme.Mathematics.Generic Namespace
    • Extreme.Mathematics.Generic.LinearAlgebra Namespace
    • Extreme.Mathematics.Generic.LinearAlgebra.Providers Namespace
    • Extreme.Mathematics.LinearAlgebra Namespace
    • Extreme.Mathematics.LinearAlgebra.Complex Namespace
    • Extreme.Mathematics.LinearAlgebra.Complex.Decompositions Namespace
    • Extreme.Mathematics.LinearAlgebra.IO Namespace
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers Namespace
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers.Preconditioners Namespace
    • Extreme.Mathematics.LinearAlgebra.Providers Namespace
    • Extreme.Mathematics.LinearAlgebra.Sparse Namespace
    • Extreme.Mathematics.Optimization Namespace
    • Extreme.Mathematics.Optimization.LineSearches Namespace
    • Extreme.Mathematics.SignalProcessing Namespace
    • Extreme.Statistics Namespace
    • Extreme.Statistics.Distributions Namespace
    • Extreme.Statistics.IO Namespace
    • Extreme.Statistics.Multivariate Namespace
    • Extreme.Statistics.Random Namespace
    • Extreme.Statistics.Tests Namespace
    • Extreme.Statistics.TimeSeriesAnalysis Namespace
  • Extreme.Statistics.Tests Namespace
    • AndersonDarlingTest Class
    • BartlettTest Class
    • ChiSquareGoodnessOfFitTest Class
    • Exactness Enumeration
    • FTest Class
    • HypothesisTest Class
    • HypothesisType Enumeration
    • KruskalWallisTest Class
    • LeveneTest Class
    • LeveneTestLocationMeasure Enumeration
    • MannWhitneyTest Class
    • McNemarTest Class
    • MultiSampleTest Class
    • OneSampleChiSquareTest Class
    • OneSampleKolmogorovSmirnovTest Class
    • OneSampleTest Class
    • OneSampleTest(T) Class
    • OneSampleTTest Class
    • OneSampleZTest Class
    • OneSampleZTestOfProportion Class
    • RunsTest Class
    • SamplePairing Enumeration
    • ShapiroWilkTest Class
    • SimpleHypothesisTest Class
    • StuartMaxwellTest Class
    • TwoSampleKolmogorovSmirnovTest Class
    • TwoSampleTest Class
    • TwoSampleTest(TSample) Class
    • TwoSampleTTest Class
    • TwoSampleZTest Class
    • VarianceAssumption Enumeration
  • ChiSquareGoodnessOfFitTest Class
    • Members
    • Constructors
    • Methods
    • Properties
Collapse image Expand Image Copy image CopyHover image
         




ChiSquareGoodnessOfFitTest Class

Members See Also 
Represents a test that a sample comes from a specified distribution.

Namespace: Extreme.Statistics.Tests
Assembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 4.2.11333.0 (4.2.12253.0)

Syntax

C#
                      public sealed class ChiSquareGoodnessOfFitTest : OneSampleTest
Visual Basic (Declaration)
                      Public NotInheritable Class ChiSquareGoodnessOfFitTest _
	Inherits OneSampleTest
Visual C++
                      public ref class ChiSquareGoodnessOfFitTest sealed : public OneSampleTest
F#
[<SealedAttribute>]
type ChiSquareGoodnessOfFitTest =  
    class
        inherit OneSampleTest
    end

Remarks

Use the ChiSquareGoodnessOfFitTest class to test whether a sample comes from a specific distribution.

The sample can be supplied as either a NumericalVariable or a Histogram.

The distribution can be specified as a probability distribution (a class that inherits from Distribution) or a Histogram. The distribution can be discrete or continuous.

If the sample and distribution are both supplied as a Histogram, the boundaries must be identical.

A chi-square test uses binned data. A drawback is that the results of the test depend on how the data is binned. The test also needs a suffient sample size for the chi-square approximation to be valid.

The AndersonDarlingTest and OneSampleKolmogorovSmirnovTest tests are alternatives to the chi-square goodness-of-fit test, but they are valid only for continuous distributions.

Inheritance Hierarchy

System..::..Object
  Extreme.Statistics.Tests..::..HypothesisTest
    Extreme.Statistics.Tests..::..OneSampleTest<(Of <(<'NumericalVariable>)>)>
      Extreme.Statistics.Tests..::..OneSampleTest
        Extreme.Statistics.Tests..::..ChiSquareGoodnessOfFitTest

See Also

ChiSquareGoodnessOfFitTest Members
Extreme.Statistics.Tests Namespace
Extreme.Statistics.Tests..::..AndersonDarlingTest
Extreme.Statistics.Tests..::..OneSampleKolmogorovSmirnovTest

Send comments on this topic to support@extremeoptimization.com

Copyright (c) 2004-2011 ExoAnalytics Inc.

Copyright © 2003-2013, Extreme Optimization. All rights reserved.
Extreme Optimization, Complexity made simple, M#, and M Sharp are trademarks of ExoAnalytics Inc.
Microsoft, Visual C#, Visual Basic, Visual Studio, Visual Studio.NET, and the Optimized for Visual Studio logo
are registered trademarks of Microsoft Corporation.