其他視覺化工具

在 R 視覺化時間序列資料

Arnaud Amsellem

Quantitative Trader and creator of the R Trader blog

直方圖

hist(amazon_stocks, 
     breaks = 20, 
     main = "AMAZON return distribution \\n Jan. 2015 to Jan. 2017", 
     xlab = "")

直方圖:Amazon 報酬分佈

在 R 視覺化時間序列資料

盒鬚圖

boxplot(amazon_stocks, 
horizontal = TRUE, 
main = "AMAZON return distribution \\n Jan. 2015 to Jan. 2017")

盒鬚圖:Amazon 報酬

在 R 視覺化時間序列資料

盒鬚圖

boxplot(amazon_stocks, 
horizontal = TRUE, 
main = "AMAZON return distribution \\n Jan. 2015 to Jan. 2017")

盒鬚圖:Amazon 報酬(中位數)

在 R 視覺化時間序列資料

盒鬚圖

boxplot(amazon_stocks, 
horizontal = TRUE, 
main = "AMAZON return distribution \\n Jan. 2015 to Jan. 2017")

盒鬚圖:Amazon 報酬(離群值)

在 R 視覺化時間序列資料

自相關

acf(amazon_stocks,
    main = "AMAZON return autocorrelations \\n Jan. 2015 to Jan. 2017")

自相關:Amazon 報酬

在 R 視覺化時間序列資料

QQ 圖

qqnorm(amazon_stocks, 
       main = "AMAZON return QQ-plot \\n Jan. 2015 to Jan. 2017")
qqline(amazon_stocks, 
       col = "red")

QQ 圖:Amazon 報酬

在 R 視覺化時間序列資料

一起來練習吧!

在 R 視覺化時間序列資料

Preparing Video For Download...