The purpose of this vignette is to present the calculations of the
costs for various univariate distributions where for each time step
there are multiple independent observations.
Univariate Gaussian
Data belongs to group
whose time stamps are the set
can have additive mean anomaly
and multiplicative variance anomaly
which are common for
.
For
.
At time step
the vector of iid observations
is made. The probability of of
is
with the likelihood of of the
observations in
being
or as a log likelihood
The log-likelihood of
is with
with the cost being twice the negative log likelihood plus a penalty
giving
Anomaly in mean and varinace
Estimates
of
and
of
can be selected to minimise the cost by taking
and
Anomaly in Mean
There is no change in variance so
.
Estimate of
is unchanged from that for an anomaly in mean and variance.
Anomaly in Variance
These is no mean anomaly so
.
Estimate of
therfore changes to
No Anomaly (Baseline)
Here
and
and there is no penalty so
Point anomaly
Assuming at for all
there are at least 2 unique values there is no need to represent a point
in time differently [Check].