This is an R package that provides basic time series modelling functionalities to analyze historical stock prices. Investment in the stock market requires not only knowledge about the listed companies, but also basic summary statistics and modellings of individual stock prices. Given time-series stock price data, this package provides key summary statistics, applies moving average and exponential smoothing models to the data, and visualizes in-sample moving average as well as exponential smoothing fits. The library has five functions, namely `summaryStats`, `movingAverage`, `exponentialSmoothing`, `visMovingAverage`, and `visExpSmoothing`. A convenient use case for this package is to combine it with the `quantmod` library, which can provide well-formated stock price data from Yahoo Finance dataset with customized date range setting.
Package details |
|
---|---|
Author | Kangyu (Mark) Wang, Sicheng (Marc) Sun, Tingyu Zhang, William Xu |
Maintainer | Mark Wang <changguang@outlook.com> |
License | MIT + file LICENSE |
Version | 1.1.0 |
Package repository | View on GitHub |
Installation |
Install the latest version of this package by entering the following in R:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.