StockDistFit: Fit Stock Price Distributions

The 'StockDistFit' package provides functions for fitting probability distributions to stock price data. The package uses maximum likelihood estimation to find the best-fitting distribution for a given stock. It also offers a function to fit several distributions to one or more assets and compare the distribution with the Akaike Information Criterion (AIC) and then pick the best distribution. References are as follows: Siew et al. (2008) <https://www.jstage.jst.go.jp/article/jappstat/37/1/37_1_1/_pdf/-char/ja> and Benth et al. (2008) <https://books.google.co.ke/books?hl=en&lr=&id=MHNpDQAAQBAJ&oi=fnd&pg=PR7&dq=Stochastic+modeling+of+commodity+prices+using+the+Variance+Gamma+(VG)+model.+&ots=YNIL2QmEYg&sig=XZtGU0lp4oqXHVyPZ-O8x5i7N3w&redir_esc=y#v=onepage&q&f=false>.

Package details

AuthorBrian Njuguna [aut, cre] (<https://orcid.org/0009-0002-2119-904X>), Stanely Sayianka [ctb]
MaintainerBrian Njuguna <briannjuguna133@gmail.com>
LicenseGPL (>= 3)
Version1.0.0
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("StockDistFit")

Try the StockDistFit package in your browser

Any scripts or data that you put into this service are public.

StockDistFit documentation built on May 31, 2023, 8:59 p.m.