Time Series Analysis
生活随笔
收集整理的這篇文章主要介紹了
Time Series Analysis
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
Time Series Analysis With R
(1)線性分析(部分)
series<-scan("cpu_raw_hour.csv") #smooth raw seriesSMA8<-SMA(series,n=8)#smooth the series with a interval of 8 ts_seriesSMA8<-ts(seriesSMA8,frequency=1) plot.ts(ts_seriesSMA8) #log raw seriesLOG<-log(series) ts_seriesLOG<-ts(seriesLOG,frequency=1) plot.ts(ts_seriesLOG)#smooth log
seriesSMALOG<-SMA(seriesLOG,n=20)
ts_seriesSMALOG<-ts(seriesSMALOG)
(2)非線性簡單分析
plot(c(max(series),min(series)),c(max(series),min(series)),cex=0) i=1 while(i<length(series)){ points(c(series[i]),c(series[i+1]),cex=0.1,col="red") i=i+1 }?
轉載于:https://www.cnblogs.com/chaseblack/p/6613290.html
總結
以上是生活随笔為你收集整理的Time Series Analysis的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 使用Nexus私服代理其他maven仓库
- 下一篇: 如何选择开源许可证?(转)