r - Trend and seasonality in time series -


this data:

x <- c(88, 88, 88, 85, 85, 85, 85, 85, 86, 90, 83, 83, 84, 88, 88, 88, 89,        89, 89, 89, 87, 89, 82, 82, 85, 85, 87, 87, 87, 87, 87, 87, 92, 92,        84, 84) 

my purpose here check whether x has trend or seasonality. have done is:

stlm <- stl(ts(x,frequency = 12), s.window = "periodic") plot(stlm) 

enter image description here

after , see graph want measure if trend , seasonality statistically or not. p-value in regression analysis.

does how can prove if data has trend or seasonality statistically significantly?


Comments