Updates the test statistic with new sample data and population
parameters.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public void Update( DoubleVector data, double mu0, double sigma ) |
| Visual Basic (Declaration) |
|---|
Public Sub Update ( _ data As DoubleVector, _ mu0 As Double, _ sigma As Double _ ) |
| Visual C++ |
|---|
public: void Update( DoubleVector^ data, double mu0, double sigma ) |
Parameters
- data
- Type: CenterSpace.NMath.Core..::.DoubleVector
A vector of observed values.
- mu0
- Type: System..::.Double
The population mean.
- sigma
- Type: System..::.Double
The population standard deviation.
Remarks
The sample mean and sample size are computed from the given data vector.
Missing values are ignored.