Learn R Programming

tsapp (version 1.0.4)

periodotest: periodotest computes the p-value of the test for a hidden periodicity

Description

periodotest computes the p-value of the test for a hidden periodicity

Usage

periodotest(y)

Arguments

y

vector, the time series

Value

pval the p-value of the test

Examples

Run this code
# NOT RUN {
  
data(PIGPRICE)
y <- PIGPRICE
out <- stl(y,s.window=6)  
e <- out$time.series[,3]
out <- periodotest(e)
# }

Run the code above in your browser using DataLab