Learn R Programming

tsapp (version 1.0.4)

statcheck: statcheck determines the means, standard deviations and acf's of segmets of a time series and plots the acf's for the segments.

Description

statcheck determines the means, standard deviations and acf's of segmets of a time series and plots the acf's for the segments.

Usage

statcheck(y, d)

Arguments

y

the series, a vector or a time series

d

scalar, number of segments

Value

out list with components:

ms

matrix with means and standard deviations of the segments

ac

matrix with acf's, the first column: acf of the series, the others: acf's of the segments

Examples

Run this code
# NOT RUN {
data(COFFEE)  
out <- statcheck(COFFEE,4)   
# }

Run the code above in your browser using DataLab