Click or drag to resize

OneSampleZTest Class

Class OneSampleZTest compares a single sample mean to an expected mean from a normal distribution with known standard deviation.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreOneSampleZTest

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
[SerializableAttribute]
public class OneSampleZTest : ICloneable

The OneSampleZTest type exposes the following members.

Constructors
 NameDescription
Public methodOneSampleZTest Default constructor. Constructs a OneSampleZTest instance with default sample, population, and hypothesis parameters.
Public methodOneSampleZTest(Double, Double, Double) Constructs a OneSampleZTest instance using the given array of sample data, and the given population parameters.
Public methodOneSampleZTest(DoubleVector, Double, Double) Constructs a OneSampleZTest instance using the given vector of sample data, and the given population parameters.
Public methodOneSampleZTest(IDFColumn, Double, Double) Constructs a OneSampleZTest instance using the given column of sample data, and the given population parameters.
Public methodOneSampleZTest(Int32, Double, Double) Constructs a OneSampleZTest instance using the given array of sample data, and the given population parameters.
Public methodOneSampleZTest(Double, Int32, Double, Double) Constructs a OneSampleZTest instance with the given sample and population parameters.
Public methodOneSampleZTest(Double, Double, Double, Double, HypothesisType) Constructs a OneSampleZTest instance using the given array of sample data, and the given population and hypothesis parameters.
Public methodOneSampleZTest(DoubleVector, Double, Double, Double, HypothesisType) Constructs a OneSampleZTest instance using the given vector of sample data, and the given population and hypothesis parameters.
Public methodOneSampleZTest(IDFColumn, Double, Double, Double, HypothesisType) Constructs a OneSampleZTest instance using the given column of sample data, and the given population and hypothesis parameters.
Public methodOneSampleZTest(Int32, Double, Double, Double, HypothesisType) Constructs a OneSampleZTest instance using the given array of sample data, and the given population and hypothesis parameters.
Public methodOneSampleZTest(Double, Int32, Double, Double, Double, HypothesisType) Constructs a OneSampleZTest instance with the given sample, population, and hypothesis parameters.
Top
Properties
 NameDescription
Public propertyAlpha Gets and sets the alpha level associated with this hypothesis test.
Public propertyStatic memberDefaultAlpha Gets and sets the default alpha level associated with OneSampleZTests.
Public propertyStatic memberDefaultType Gets and sets the default form of the alternative hypothesis associated with OneSampleZTests.
Public propertyDistribution Gets the distribution of the test statistic associated with this hypothesis test.
Public propertyLeftCriticalValue Gets the one-sided to the left critical value based on the current probability distribution and alpha level associated with this hypothesis test.
Public propertyLeftProbability Gets the area under the probability distribution to the left of the test statistic.
Public propertyLowerConfidenceLimit Gets the 1 - alpha lower confidence limit for the true mean.
Public propertyMu0 Gets the population mean.
Public propertyN Gets the sample size.
Public propertyP Gets the p-value associated with the test statistic.
Public propertyReject Tests whether the null hypothesis can be rejected, using the current hypothesis type and alpha level.
Public propertyRightCriticalValue Gets the one-sided to the right critical value based on the current probability distribution and alpha level associated with this hypothesis test.
Public propertyRightProbability Gets the area under the probability distribution to the right of the test statistic.
Public propertySEM Gets the standard error of the mean.
Public propertySigma Gets the population standard deviation.
Public propertyStatistic Gets the value of the test statistic associated with this hypothesis test.
Public propertyType Gets and sets the form of the alternative hypothesis associated with this hypothesis test.
Public propertyUpperConfidenceLimit Gets the 1 - alpha upper confidence limit for the true mean.
Public propertyXbar Gets the sample mean.
Top
Methods
 NameDescription
Public methodClone Creates a deep copy of this OneSampleZTest.
Public methodOnDeserialized Compute values following deserialization
Public methodToString Returns a formatted string representation of the test results.
(Overrides ObjectToString)
Public methodUpdate(Double) Updates the test statistic with new sample data.
Public methodUpdate(DoubleVector) Updates the test statistic with new sample data.
Public methodUpdate(IDFColumn) Updates the test statistic with new sample data.
Public methodUpdate(Int32) Updates the test statistic with new sample data.
Public methodUpdate(Double, Double) Updates the test statistic with new population parameters.
Public methodUpdate(Double, Int32) Updates the test statistic with new sample parameters.
Public methodUpdate(Double, Double, Double) Updates the test statistic with new sample data and population parameters.
Public methodUpdate(DoubleVector, Double, Double) Updates the test statistic with new sample data and population parameters.
Public methodUpdate(IDFColumn, Double, Double) Updates the test statistic with new sample data and population parameters.
Public methodUpdate(Int32, Double, Double) Updates the test statistic with new sample data and population parameters.
Public methodUpdate(Double, Int32, Double, Double) Updates the test statistic with new sample and population parameters.
Top
See Also