![]() |
Visual Servoing Platform version 3.7.0
|
#include <vpStatisticalTestHinkley.h>
Public Types | |
| enum | vpMeanDriftType { MEAN_DRIFT_NONE = 0 , MEAN_DRIFT_DOWNWARD = 1 , MEAN_DRIFT_UPWARD = 2 , MEAN_DRIFT_BOTH = 3 , MEAN_DRIFT_COUNT = 4 , MEAN_DRIFT_UNKNOWN = MEAN_DRIFT_COUNT } |
| typedef enum vpStatisticalTestAbstract::vpMeanDriftType | vpMeanDriftType |
Public Member Functions | |
| vpStatisticalTestHinkley () | |
| vpStatisticalTestHinkley (const float &alpha, const float &delta, const unsigned int &nbSamplesForInit=30) | |
| vpStatisticalTestHinkley (const float &h, const float &k, const bool &computeAlphaDeltaFromStdev, const unsigned int &nbSamplesForInit=30) | |
| vpStatisticalTestHinkley (const float &h, const float &k, const float &mean, const float &stdev) | |
| float | getAlpha () const |
| float | getSk () const |
| float | getMk () const |
| float | getTk () const |
| float | getNk () const |
| void | init () |
| void | init (const float &alpha, const float &delta, const unsigned int &nbSamplesForInit) |
| void | init (const float &h, const float &k, const bool &computeAlphaDeltaFromStdev, const unsigned int &nbSamplesForInit) |
| void | init (const float &alpha, const float &delta, const float &mean) |
| void | init (const float &h, const float &k, const float &mean, const float &stdev) |
| void | setDelta (const float &delta) |
| void | setAlpha (const float &alpha) |
| void | getLimits (float &limitDown, float &limitUp) const |
| float | getMean () const |
| float | getStdev () const |
| void | setMinStdev (const float &stdevmin) |
| void | setNbSamplesForStat (const unsigned int &nbSamples) |
| vpMeanDriftType | testDownUpwardMeanDrift (const float &signal) |
| vpMeanDriftType | testDownwardMeanDrift (const float &signal) |
| vpMeanDriftType | testUpwardMeanDrift (const float &signal) |
Static Public Member Functions | |
| static std::string | vpMeanDriftTypeToString (const vpMeanDriftType &type) |
| static vpMeanDriftType | vpMeanDriftTypeFromString (const std::string &name) |
| static std::string | getAvailableMeanDriftType (const std::string &prefix="<", const std::string &sep=" , ", const std::string &suffix=">") |
| static void | print (const vpMeanDriftType &type) |
Protected Member Functions | |
| virtual void | computeAlphaDelta () |
| void | computeMean (double signal) |
| void | computeSk (double signal) |
| void | computeMk () |
| void | computeTk (double signal) |
| void | computeNk () |
| virtual vpMeanDriftType | detectDownwardMeanDrift () VP_OVERRIDE |
| virtual vpMeanDriftType | detectUpwardMeanDrift () VP_OVERRIDE |
| virtual bool | updateStatistics (const float &signal) VP_OVERRIDE |
| virtual void | updateTestSignals (const float &signal) VP_OVERRIDE |
Protected Attributes | |
| float | m_dmin2 |
| float | m_alpha |
| float | m_Sk |
| float | m_Mk |
| float | m_Tk |
| float | m_Nk |
| bool | m_computeDeltaAndAlpha |
| float | m_h |
| float | m_k |
| bool | m_areStatisticsComputed |
| float | m_count |
| float | m_limitDown |
| float | m_limitUp |
| float | m_mean |
| unsigned int | m_nbSamplesForStatistics |
| float * | m_s |
| float | m_stdev |
| float | m_stdevmin |
| float | m_sumForMean |
This class implements the Hinkley's cumulative sum test.
The Hinkley's cumulative sum test is designed to detect drift in the mean of an observed signal
. It is known to be robust (by taking into account all the past of the observed quantity), efficient, and inducing a very low computational load. The other attractive features of this test are two-fold. First, it can straightforwardly and accurately provide the drift instant. Secondly, due to its formulation (cumulative sum test), it can simultaneously handle both very abrupt and important changes, and gradual smaller ones without adapting the involved thresholds.
Two tests are performed in parallel to look for downwards or upwards drifts in
, respectively defined by:
In which
is computed on-line and corresponds to the mean of the signal
we want to detect a drift.
is re-initialized at zero after each drift detection.
denotes the drift minimal magnitude that we want to detect and
is a predefined threshold. These values are set by default to 0.2 in the default constructor vpStatisticalTestHinkley(). To modify the default values use setAlpha() and setDelta() or the vpStatisticalTestHinkley(double alpha, double delta) constructor.
A downward drift is detected if
. A upward drift is detected if
.
To detect only downward drifts in
use testDownwardMeanDrift().To detect only upward drifts in
use testUpwardMeanDrift(). To detect both, downward and upward drifts use testDownUpwardMeanDrift().
If a drift is detected, the drift location is given by the last instant
when
, or
.
Tutorials
If you are interested in using Statistical Process Control methods, you may have a look at:
Definition at line 94 of file vpStatisticalTestHinkley.h.
|
inherited |
Enum that indicates if a drift of the mean occurred.
|
inherited |
Enum that indicates if a drift of the mean occurred.
Definition at line 69 of file vpStatisticalTestAbstract.h.
| BEGIN_VISP_NAMESPACE vpStatisticalTestHinkley::vpStatisticalTestHinkley | ( | ) |
Construct a new vpStatisticalTestHinkley object. Call init() to initialise the Hinkley's test and set
and
to default values.
By default
and
. Use setDelta() and setAlpha() to modify these values.
Definition at line 49 of file vpStatisticalTestHinkley.cpp.
References init(), m_alpha, m_computeDeltaAndAlpha, m_dmin2, m_h, m_k, m_Mk, m_Nk, m_Sk, m_Tk, and vpStatisticalTestAbstract::vpStatisticalTestAbstract().
| vpStatisticalTestHinkley::vpStatisticalTestHinkley | ( | const float & | alpha, |
| const float & | delta, | ||
| const unsigned int & | nbSamplesForInit = 30 ) |
Call init() to initialise the Hinkley's test and set
and
thresholds.
| [in] | alpha | : |
| [in] | delta | : |
| [in] | nbSamplesForInit | : number of signal samples to initialize the mean of the signal. |
Definition at line 64 of file vpStatisticalTestHinkley.cpp.
References init(), m_alpha, m_computeDeltaAndAlpha, m_dmin2, m_h, m_k, m_Mk, m_Nk, m_Sk, m_Tk, and vpStatisticalTestAbstract::vpStatisticalTestAbstract().
| vpStatisticalTestHinkley::vpStatisticalTestHinkley | ( | const float & | h, |
| const float & | k, | ||
| const bool & | computeAlphaDeltaFromStdev, | ||
| const unsigned int & | nbSamplesForInit = 30 ) |
Construct a new vpStatisticalTestHinkley object.
and
will be computed from the standard deviation of the signal.
| [in] | h | : the alarm factor that permits to compute |
| [in] | k | : the detection factor that permits to compute |
| [in] | computeAlphaDeltaFromStdev | : must be equal to true, otherwise throw a vpException. |
| [in] | nbSamplesForInit | : number of signal samples to initialize the mean of the signal. |
Definition at line 79 of file vpStatisticalTestHinkley.cpp.
References init(), and vpStatisticalTestAbstract::vpStatisticalTestAbstract().
| vpStatisticalTestHinkley::vpStatisticalTestHinkley | ( | const float & | h, |
| const float & | k, | ||
| const float & | mean, | ||
| const float & | stdev ) |
Construct a new vpStatisticalTestHinkley object.
and
will be computed from the standard deviation of the signal.
| [in] | h | : the alarm factor that permits to compute |
| [in] | k | : the detection factor that permits to compute |
| [in] | mean | : the expected mean of the signal. |
| [in] | stdev | : the expected standard deviation of the signal. |
Definition at line 85 of file vpStatisticalTestHinkley.cpp.
References init(), and vpStatisticalTestAbstract::vpStatisticalTestAbstract().
|
protectedvirtual |
Compute
and
from the standard deviation of the signal.
Definition at line 158 of file vpStatisticalTestHinkley.cpp.
References m_h, m_k, vpStatisticalTestAbstract::m_stdev, setAlpha(), and setDelta().
Referenced by init(), and updateStatistics().
|
protected |
Compute the mean value
of the signal. The mean value must be computed before the mean drift is estimated on-line.
| [in] | signal | The new value of the signal to monitor. |
Definition at line 166 of file vpStatisticalTestHinkley.cpp.
References vpStatisticalTestAbstract::m_count, vpStatisticalTestAbstract::m_mean, m_Mk, m_Nk, m_Sk, m_Tk, and vpMath::maximum().
Referenced by updateTestSignals().
|
protected |
Compute
, the maximum value of
.
Definition at line 184 of file vpStatisticalTestHinkley.cpp.
Referenced by updateTestSignals().
|
protected |
Compute
, the minimum value of
.
Definition at line 196 of file vpStatisticalTestHinkley.cpp.
Referenced by updateTestSignals().
|
protected |
Compute
.
| [in] | signal | The new value of the signal to monitor. |
Definition at line 179 of file vpStatisticalTestHinkley.cpp.
References m_dmin2, vpStatisticalTestAbstract::m_mean, and m_Sk.
Referenced by updateTestSignals().
|
protected |
Compute
.
| [in] | signal | The new value of the signal to monitor. |
Definition at line 191 of file vpStatisticalTestHinkley.cpp.
References m_dmin2, vpStatisticalTestAbstract::m_mean, and m_Tk.
Referenced by updateTestSignals().
|
protectedvirtual |
Detects if a downward mean drift occurred.
Implements vpStatisticalTestAbstract.
Definition at line 203 of file vpStatisticalTestHinkley.cpp.
References m_alpha, m_Mk, m_Sk, vpStatisticalTestAbstract::MEAN_DRIFT_DOWNWARD, and vpStatisticalTestAbstract::MEAN_DRIFT_NONE.
|
protectedvirtual |
Detects if an upward mean drift occurred on the mean.
Implements vpStatisticalTestAbstract.
Definition at line 212 of file vpStatisticalTestHinkley.cpp.
References m_alpha, m_Nk, m_Tk, vpStatisticalTestAbstract::MEAN_DRIFT_NONE, and vpStatisticalTestAbstract::MEAN_DRIFT_UPWARD.
|
inline |
Get the
threshold indicating that a mean drift occurs.
Definition at line 226 of file vpStatisticalTestHinkley.h.
References getAlpha(), and m_alpha.
Referenced by getAlpha().
|
staticinherited |
Get the list of available vpMeanDriftType objects that are handled.
| [in] | prefix | The prefix that should be placed before the list. |
| [in] | sep | The separator between each element of the list. |
| [in] | suffix | The suffix that should terminate the list. |
Definition at line 85 of file vpStatisticalTestAbstract.cpp.
References MEAN_DRIFT_COUNT, and vpMeanDriftTypeToString().
|
inlineinherited |
Get the upper and lower limits of the test signal.
| [out] | limitDown | The lower limit. |
| [out] | limitUp | The upper limit. |
Definition at line 181 of file vpStatisticalTestAbstract.h.
References m_limitDown, and m_limitUp.
|
inlineinherited |
Get the mean used as reference.
Definition at line 192 of file vpStatisticalTestAbstract.h.
References m_mean.
|
inline |
Get the maximum of the test signal for downward mean drift
.
Definition at line 240 of file vpStatisticalTestHinkley.h.
References m_Mk.
|
inline |
Get the minimum of the test signal for upward mean drift
.
Definition at line 255 of file vpStatisticalTestHinkley.h.
References m_Nk.
|
inline |
Get the test signal for downward mean drift.
Definition at line 233 of file vpStatisticalTestHinkley.h.
References m_Sk.
|
inlineinherited |
Get the standard deviation used as reference.
Definition at line 202 of file vpStatisticalTestAbstract.h.
References m_stdev.
|
inline |
Get the test signal for upward mean drift..
Definition at line 248 of file vpStatisticalTestHinkley.h.
References m_Tk.
| void vpStatisticalTestHinkley::init | ( | ) |
Initialise the Hinkley's test by setting the mean signal value
to zero as well as
.
Definition at line 91 of file vpStatisticalTestHinkley.cpp.
References vpStatisticalTestAbstract::init(), m_alpha, m_computeDeltaAndAlpha, m_Mk, m_Nk, m_Sk, m_Tk, setAlpha(), and vpStatisticalTestAbstract::setNbSamplesForStat().
Referenced by init(), init(), init(), init(), vpStatisticalTestHinkley(), vpStatisticalTestHinkley(), vpStatisticalTestHinkley(), and vpStatisticalTestHinkley().
| void vpStatisticalTestHinkley::init | ( | const float & | alpha, |
| const float & | delta, | ||
| const float & | mean ) |
Call init() to initialise the Hinkley's test, set
and
thresholds, and the mean of the signal
.
| [in] | alpha | The threshold indicating that a mean drift occurs. |
| [in] | delta | The drift minimal magnitude that we want to detect. |
| [in] | mean | The expected value of the mean. |
Definition at line 115 of file vpStatisticalTestHinkley.cpp.
References init(), vpStatisticalTestAbstract::m_areStatisticsComputed, m_computeDeltaAndAlpha, vpStatisticalTestAbstract::m_mean, setAlpha(), and setDelta().
| void vpStatisticalTestHinkley::init | ( | const float & | alpha, |
| const float & | delta, | ||
| const unsigned int & | nbSamplesForInit ) |
Call init() to initialise the Hinkley's test and set
and
thresholds.
| [in] | alpha | The threshold indicating that a mean drift occurs. |
| [in] | delta | The drift minimal magnitude that we want to detect. |
| [in] | nbSamplesForInit | : number of signal samples to initialize the mean of the signal. |
Definition at line 106 of file vpStatisticalTestHinkley.cpp.
References init(), m_computeDeltaAndAlpha, setAlpha(), setDelta(), and vpStatisticalTestAbstract::setNbSamplesForStat().
| void vpStatisticalTestHinkley::init | ( | const float & | h, |
| const float & | k, | ||
| const bool & | computeAlphaDeltaFromStdev, | ||
| const unsigned int & | nbSamplesForInit ) |
(Re)Initialize a new vpStatisticalTestHinkley object.
and
will be computed from the standard deviation of the signal.
| [in] | h | : the alarm factor that permits to compute |
| [in] | k | : the detection factor that permits to compute |
| [in] | computeAlphaDeltaFromStdev | : must be equal to true, otherwise throw a vpException. |
| [in] | nbSamplesForInit | : number of signal samples to initialize the mean of the signal. |
Definition at line 125 of file vpStatisticalTestHinkley.cpp.
References vpException::badValue, init(), m_computeDeltaAndAlpha, m_h, m_k, and vpStatisticalTestAbstract::setNbSamplesForStat().
| void vpStatisticalTestHinkley::init | ( | const float & | h, |
| const float & | k, | ||
| const float & | mean, | ||
| const float & | stdev ) |
(Re)Initialize a new vpStatisticalTestHinkley object.
and
will be computed from the standard deviation of the signal.
| [in] | h | : the alarm factor that permits to compute |
| [in] | k | : the detection factor that permits to compute |
| [in] | mean | : the expected mean of the signal. |
| [in] | stdev | : the expected standard deviation of the signal. |
Definition at line 137 of file vpStatisticalTestHinkley.cpp.
References computeAlphaDelta(), init(), vpStatisticalTestAbstract::m_areStatisticsComputed, m_computeDeltaAndAlpha, m_h, m_k, vpStatisticalTestAbstract::m_mean, and vpStatisticalTestAbstract::m_stdev.
|
staticinherited |
Print the message corresponding to the type of mean drift.
| [in] | type | The type of mean drift. |
Definition at line 98 of file vpStatisticalTestAbstract.cpp.
References vpMeanDriftTypeToString().
| void vpStatisticalTestHinkley::setAlpha | ( | const float & | alpha | ) |
The threshold indicating that a mean drift occurs.
| [in] | alpha | The threshold. |
Definition at line 151 of file vpStatisticalTestHinkley.cpp.
References m_alpha, vpStatisticalTestAbstract::m_limitDown, and vpStatisticalTestAbstract::m_limitUp.
Referenced by computeAlphaDelta(), init(), init(), and init().
| void vpStatisticalTestHinkley::setDelta | ( | const float & | delta | ) |
Set the drift minimal magnitude that we want to detect.
| [in] | delta | The drift magnitude. |
Definition at line 149 of file vpStatisticalTestHinkley.cpp.
References m_dmin2.
Referenced by computeAlphaDelta(), init(), and init().
|
inlineinherited |
Set the minimum value of the standard deviation that is expected. The computed standard deviation cannot be lower this value if set.
| [in] | stdevmin | The minimum value of the standard deviation that is expected. |
Definition at line 226 of file vpStatisticalTestAbstract.h.
References m_stdevmin.
|
inherited |
Set the number of samples required to compute the mean and standard deviation of the signal and allocate the memory accordingly.
| [in] | nbSamples | The number of samples we want to use. |
Definition at line 193 of file vpStatisticalTestAbstract.cpp.
References m_nbSamplesForStatistics, and m_s.
Referenced by vpStatisticalTestEWMA::init(), vpStatisticalTestEWMA::init(), vpStatisticalTestHinkley::init(), vpStatisticalTestHinkley::init(), vpStatisticalTestHinkley::init(), vpStatisticalTestMeanAdjustedCUSUM::init(), vpStatisticalTestMeanAdjustedCUSUM::init(), vpStatisticalTestSigma::init(), and operator=().
|
inherited |
Test if a downward or an upward mean drift occurred according to the new value of the signal.
| [in] | signal | The new value of the signal. |
Definition at line 202 of file vpStatisticalTestAbstract.cpp.
References detectDownwardMeanDrift(), detectUpwardMeanDrift(), m_areStatisticsComputed, MEAN_DRIFT_BOTH, MEAN_DRIFT_NONE, updateStatistics(), and updateTestSignals().
|
inherited |
Test if a downward mean drift occurred according to the new value of the signal.
| [in] | signal | The new value of the signal. |
Definition at line 227 of file vpStatisticalTestAbstract.cpp.
References detectDownwardMeanDrift(), m_areStatisticsComputed, MEAN_DRIFT_NONE, updateStatistics(), and updateTestSignals().
|
inherited |
Test if an upward mean drift occurred according to the new value of the signal.
| [in] | signal | The new value of the signal. |
Definition at line 239 of file vpStatisticalTestAbstract.cpp.
References detectUpwardMeanDrift(), m_areStatisticsComputed, MEAN_DRIFT_NONE, updateStatistics(), and updateTestSignals().
|
protectedvirtual |
Update m_s and if enough values are available, compute the mean, the standard deviation and the limits.
| [in] | signal | The new value of the signal to monitor. |
Reimplemented from vpStatisticalTestAbstract.
Definition at line 221 of file vpStatisticalTestHinkley.cpp.
References computeAlphaDelta(), vpStatisticalTestAbstract::m_areStatisticsComputed, m_computeDeltaAndAlpha, m_Mk, m_Nk, m_Sk, m_Tk, and vpStatisticalTestAbstract::updateStatistics().
|
protectedvirtual |
Update the test signals.
| [in] | signal | The new value of the signal to monitor. |
Implements vpStatisticalTestAbstract.
Definition at line 238 of file vpStatisticalTestHinkley.cpp.
References computeMean(), computeMk(), computeNk(), computeSk(), computeTk(), and vpStatisticalTestAbstract::m_count.
|
staticinherited |
Cast a string into a vpMeanDriftType.
| [in] | name | The name of the mean drift. |
Definition at line 68 of file vpStatisticalTestAbstract.cpp.
References MEAN_DRIFT_COUNT, MEAN_DRIFT_UNKNOWN, and vpMeanDriftTypeToString().
|
staticinherited |
Cast a vpMeanDriftType into a string.
| [in] | type | The type of mean drift. |
Definition at line 42 of file vpStatisticalTestAbstract.cpp.
References vpException::fatalError, MEAN_DRIFT_BOTH, MEAN_DRIFT_DOWNWARD, MEAN_DRIFT_NONE, MEAN_DRIFT_UNKNOWN, and MEAN_DRIFT_UPWARD.
Referenced by getAvailableMeanDriftType(), print(), and vpMeanDriftTypeFromString().
|
protected |
The
threshold indicating that a mean drift occurs.
Definition at line 98 of file vpStatisticalTestHinkley.h.
Referenced by detectDownwardMeanDrift(), detectUpwardMeanDrift(), getAlpha(), init(), setAlpha(), vpStatisticalTestHinkley(), and vpStatisticalTestHinkley().
|
protectedinherited |
Set to true once the mean and the standard deviation are available.
Definition at line 114 of file vpStatisticalTestAbstract.h.
Referenced by init(), vpStatisticalTestEWMA::init(), vpStatisticalTestHinkley::init(), vpStatisticalTestHinkley::init(), vpStatisticalTestMeanAdjustedCUSUM::init(), vpStatisticalTestMeanAdjustedCUSUM::init(), vpStatisticalTestShewhart::init(), vpStatisticalTestSigma::init(), operator=(), testDownUpwardMeanDrift(), testDownwardMeanDrift(), testUpwardMeanDrift(), updateStatistics(), vpStatisticalTestHinkley::updateStatistics(), and vpStatisticalTestAbstract().
|
protected |
If true, compute
and
from the standard deviation, the alarm factor and the detection factor.
Definition at line 103 of file vpStatisticalTestHinkley.h.
Referenced by init(), init(), init(), init(), init(), updateStatistics(), vpStatisticalTestHinkley(), and vpStatisticalTestHinkley().
|
protectedinherited |
Current number of data used to compute the mean and the standard deviation.
Definition at line 115 of file vpStatisticalTestAbstract.h.
Referenced by vpStatisticalTestHinkley::computeMean(), init(), operator=(), updateStatistics(), vpStatisticalTestHinkley::updateTestSignals(), and vpStatisticalTestAbstract().
|
protected |
Half of
, the drift minimal magnitude that we want to detect.
Definition at line 97 of file vpStatisticalTestHinkley.h.
Referenced by computeSk(), computeTk(), setDelta(), vpStatisticalTestHinkley(), and vpStatisticalTestHinkley().
|
protected |
The alarm factor, that permits to compute
from the standard deviation of the signal.
Definition at line 105 of file vpStatisticalTestHinkley.h.
Referenced by computeAlphaDelta(), init(), init(), vpStatisticalTestHinkley(), and vpStatisticalTestHinkley().
|
protected |
The detection factor, that permits to compute
from the standard deviation of the signal.
Definition at line 106 of file vpStatisticalTestHinkley.h.
Referenced by computeAlphaDelta(), init(), init(), vpStatisticalTestHinkley(), and vpStatisticalTestHinkley().
|
protectedinherited |
Upper limit for the test signal m_wt.
Definition at line 116 of file vpStatisticalTestAbstract.h.
Referenced by vpStatisticalTestEWMA::computeDeltaAndLimits(), vpStatisticalTestShewhart::computeLimits(), vpStatisticalTestSigma::computeLimits(), vpStatisticalTestEWMA::detectDownwardMeanDrift(), vpStatisticalTestMeanAdjustedCUSUM::detectDownwardMeanDrift(), vpStatisticalTestShewhart::detectDownwardMeanDrift(), vpStatisticalTestSigma::detectDownwardMeanDrift(), getLimits(), init(), operator=(), vpStatisticalTestHinkley::setAlpha(), vpStatisticalTestMeanAdjustedCUSUM::setLimits(), vpStatisticalTestMeanAdjustedCUSUM::updateStatistics(), and vpStatisticalTestAbstract().
|
protectedinherited |
Lower limit for the test signal m_wt
Definition at line 117 of file vpStatisticalTestAbstract.h.
Referenced by vpStatisticalTestEWMA::computeDeltaAndLimits(), vpStatisticalTestShewhart::computeLimits(), vpStatisticalTestSigma::computeLimits(), vpStatisticalTestEWMA::detectUpwardMeanDrift(), vpStatisticalTestMeanAdjustedCUSUM::detectUpwardMeanDrift(), vpStatisticalTestShewhart::detectUpwardMeanDrift(), vpStatisticalTestSigma::detectUpwardMeanDrift(), getLimits(), init(), operator=(), vpStatisticalTestHinkley::setAlpha(), vpStatisticalTestMeanAdjustedCUSUM::setLimits(), vpStatisticalTestMeanAdjustedCUSUM::updateStatistics(), and vpStatisticalTestAbstract().
|
protectedinherited |
Mean of the monitored signal.
Definition at line 118 of file vpStatisticalTestAbstract.h.
Referenced by vpStatisticalTestEWMA::computeDeltaAndLimits(), vpStatisticalTestShewhart::computeLimits(), vpStatisticalTestSigma::computeLimits(), vpStatisticalTestHinkley::computeMean(), vpStatisticalTestHinkley::computeSk(), vpStatisticalTestHinkley::computeTk(), vpStatisticalTestShewhart::detectDownwardMeanDrift(), vpStatisticalTestShewhart::detectUpwardMeanDrift(), getMean(), init(), vpStatisticalTestEWMA::init(), vpStatisticalTestHinkley::init(), vpStatisticalTestHinkley::init(), vpStatisticalTestMeanAdjustedCUSUM::init(), vpStatisticalTestMeanAdjustedCUSUM::init(), vpStatisticalTestMeanAdjustedCUSUM::init(), vpStatisticalTestShewhart::init(), vpStatisticalTestSigma::init(), operator=(), updateStatistics(), vpStatisticalTestEWMA::updateStatistics(), vpStatisticalTestMeanAdjustedCUSUM::updateTestSignals(), and vpStatisticalTestAbstract().
|
protected |
Maximum of the test signal for downward mean drift
.
Definition at line 100 of file vpStatisticalTestHinkley.h.
Referenced by computeMean(), computeMk(), detectDownwardMeanDrift(), getMk(), init(), updateStatistics(), vpStatisticalTestHinkley(), and vpStatisticalTestHinkley().
|
protectedinherited |
Number of samples to use to compute the mean and the standard deviation.
Definition at line 119 of file vpStatisticalTestAbstract.h.
Referenced by init(), operator=(), setNbSamplesForStat(), updateStatistics(), and vpStatisticalTestAbstract().
|
protected |
Minimum of the test signal for upward mean drift
Definition at line 102 of file vpStatisticalTestHinkley.h.
Referenced by computeMean(), computeNk(), detectUpwardMeanDrift(), getNk(), init(), updateStatistics(), vpStatisticalTestHinkley(), and vpStatisticalTestHinkley().
|
protectedinherited |
Array that keeps the samples used to compute the mean and standard deviation.
Definition at line 120 of file vpStatisticalTestAbstract.h.
Referenced by init(), operator=(), setNbSamplesForStat(), updateStatistics(), vpStatisticalTestAbstract(), and ~vpStatisticalTestAbstract().
|
protected |
Test signal for downward mean drift.
Definition at line 99 of file vpStatisticalTestHinkley.h.
Referenced by computeMean(), computeMk(), computeSk(), detectDownwardMeanDrift(), getSk(), init(), updateStatistics(), vpStatisticalTestHinkley(), and vpStatisticalTestHinkley().
|
protectedinherited |
Standard deviation of the monitored signal.
Definition at line 121 of file vpStatisticalTestAbstract.h.
Referenced by vpStatisticalTestHinkley::computeAlphaDelta(), vpStatisticalTestEWMA::computeDeltaAndLimits(), vpStatisticalTestMeanAdjustedCUSUM::computeDeltaAndLimits(), vpStatisticalTestShewhart::computeLimits(), vpStatisticalTestSigma::computeLimits(), getStdev(), init(), vpStatisticalTestEWMA::init(), vpStatisticalTestHinkley::init(), vpStatisticalTestMeanAdjustedCUSUM::init(), vpStatisticalTestMeanAdjustedCUSUM::init(), vpStatisticalTestMeanAdjustedCUSUM::init(), vpStatisticalTestShewhart::init(), vpStatisticalTestSigma::init(), operator=(), updateStatistics(), and vpStatisticalTestAbstract().
|
protectedinherited |
Minimum allowed standard deviation of the monitored signal.
Definition at line 122 of file vpStatisticalTestAbstract.h.
Referenced by setMinStdev(), updateStatistics(), and vpStatisticalTestAbstract().
|
protectedinherited |
Sum of the samples used to compute the mean and standard deviation.
Definition at line 123 of file vpStatisticalTestAbstract.h.
Referenced by init(), vpStatisticalTestMeanAdjustedCUSUM::init(), operator=(), updateStatistics(), and vpStatisticalTestAbstract().
|
protected |
Test signal for upward mean drift.
Definition at line 101 of file vpStatisticalTestHinkley.h.
Referenced by computeMean(), computeNk(), computeTk(), detectUpwardMeanDrift(), getTk(), init(), updateStatistics(), vpStatisticalTestHinkley(), and vpStatisticalTestHinkley().