Description Usage Arguments Value Author(s) Examples
Computes the variance of a piecewise constant time series that may contain jumps by using one-half the variance of the lag-1 differences.
1 | compute.var(y)
|
y |
A matrix of real numbers, each column is a piece-wise constant time series. |
use.mean |
If TRUE (default) the mean of the lag-1 variances is used, otherwise use the median. |
a vector of variances, one for each column.
Nancy R. Zhang
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.