T is known, procedure persigest plots and returns the estimated periodic
standard deviation as a function of season. Missing data are permitted. The
confidence intervals for these values, based on the chi-square distribution, are also
computed and plotted. The de-meaned and normalized series
xn is returned.
First, the periodic mean is computed using the method of permest. If at time t there is a missing value in the data, it is ignored
in the computation of periodic standard deviation. For any season (t mod T) where all the data are missing, the periodic standard
deviation is set to "Missing" and in the output vector xn all the values whose times are congruent with (t mod T) will be set to "Missing".persigest(x, T, alpha, missval, datastr,...)1-alpha is confidence interval containment probability
using the chi-square distribution.typeci, typepstd, pchci, pchpstd, colci, colpstd, pp;
typeci / typepstd, pchci / pchpNaN)
and the length of the series may not be
an integer multiple of the period. The program returns and plots the
periodic standard deviations with 1-alpha confidence
intervals based on all non-missing values present for each particular
season.
The p-value for Barttlet's test for homogenity of variance $\sigma(t)
\equiv \sigma$ is also computed.
Rejection of homogeneity
(based on the pspv value) indicates a properly periodic variance,
but leaves open whether or
not series is simply the result of a stationary process subjected
to amplitude-scale modulation. To
resolve this$R (t + \tau, t)$ for some $\tau \neq 0$
need to be estimated.permestdata(arosa)
dev.set(which=1)
persigest(t(arosa),12, 0.05, NaN,'arosa')Run the code above in your browser using DataLab