Transform the noise to be closer to the Gaussian distribution
Transform the noise to be closer to the Gaussian distribution
This function pre-processes the given data in order to obtain a noise structure that is closer to satisfying the Gaussianity assumption. See details for more information and for the relevant literature reference.
normalise(x, sc =3)
Arguments
x: A numeric vector containing the data.
sc: A positive integer number with default value equal to 3. It is used to define the way we pre-average the given data sequence.
Returns
The ``normalised'' vector x~ of length Q, as explained in Details.
Details
For a given natural number sc and data x of length T, let us denote by Q=⌈T/sc⌉. Then, normalise calculates
x~q=1/sct=(q−1)∗sc+1∑q∗scxt,
for q=1,2,...,Q−1, while
x~Q=(T−(Q−1)∗sc)−1t=(Q−1)∗sc+1∑Txt.
More details can be found in the preprint ``Detecting multiple generalized change-points by isolating single ones'', Anastasiou and Fryzlewicz (2018).