Represents a test that the population population mean of a
VectorT is equal to a specific value
when the population variance is known.
SystemObject Extreme.Statistics.TestsHypothesisTest Extreme.Statistics.TestsOneSampleTestDouble Extreme.Statistics.TestsOneSampleTest Extreme.Statistics.TestsOneSampleZTest
Namespace:
Extreme.Statistics.Tests
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public sealed class OneSampleZTest : OneSampleTest
Public NotInheritable Class OneSampleZTest
Inherits OneSampleTest
public ref class OneSampleZTest sealed : public OneSampleTest
[<SealedAttribute>]
type OneSampleZTest =
class
inherit OneSampleTest
end
The OneSampleZTest type exposes the following members.
| Name | Description |
---|
 | OneSampleZTest |
Constructs a new OneSampleZTest.
|
 | OneSampleZTest(VectorDouble, Double, Double) |
Constructs a new OneSampleZTest for the
specified VectorT with known
standard deviation.
|
 | OneSampleZTest(Double, Int32, Double, Double) |
Constructs a new OneSampleZTest for the
specified VectorT with known
standard deviation.
|
 | OneSampleZTest(VectorDouble, Double, Double, HypothesisType) |
Constructs a new OneSampleZTest for the
specified VectorT with known
standard deviation.
|
 | OneSampleZTest(Double, Int32, Double, Double, HypothesisType) |
Constructs a new OneSampleZTest for the
specified VectorT with known
standard deviation.
|
Top
Top
Top
Use the OneSampleZTest class to test the hypothesis that
a sample comes from a normal population with specified population mean
and variance.
The sample data can be supplied either as a VectorT,
or by specifying the SampleMean and the SampleSize.
A confidence interval for the variance of the sample can be obtained using the
GetConfidenceInterval(Double) method.
When the population variance is not known, a OneSampleTTest
can be used. To compare two sample means, use a TwoSampleTTest.
Reference