Package: NFCP 1.2.1

NFCP: N-Factor Commodity Pricing Through Term Structure Estimation

Commodity pricing models are (systems of) stochastic differential equations that are utilized for the valuation and hedging of commodity contingent claims (i.e. derivative products on the commodity) and other commodity related investments. Commodity pricing models that capture market dynamics are of great importance to commodity market participants in order to exercise sound investment and risk-management strategies. Parameters of commodity pricing models are estimated through maximum likelihood estimation, using available term structure futures data of a commodity. 'NFCP' (n-factor commodity pricing) provides a framework for the modeling, parameter estimation, probabilistic forecasting, option valuation and simulation of commodity prices through state space and Monte Carlo methods, risk-neutral valuation and Kalman filtering. 'NFCP' allows the commodity pricing model to consist of n correlated factors, with both random walk and mean-reverting elements. The n-factor commodity pricing model framework was first presented in the work of Cortazar and Naranjo (2006) <doi:10.1002/fut.20198>. Examples presented in 'NFCP' replicate the two-factor crude oil commodity pricing model presented in the prolific work of Schwartz and Smith (2000) <doi:10.1287/mnsc.46.7.893.12034> with the approximate term structure futures data applied within this study provided in the 'NFCP' package.

Authors:Thomas Aspinall [aut, cre], Adrian Gepp [aut], Geoff Harris [aut], Simone Kelly [aut], Colette Southam [aut], Bruce Vanstone [aut]

NFCP_1.2.1.tar.gz
NFCP_1.2.1.zip(r-4.5)NFCP_1.2.1.zip(r-4.4)NFCP_1.2.1.zip(r-4.3)
NFCP_1.2.1.tgz(r-4.4-any)NFCP_1.2.1.tgz(r-4.3-any)
NFCP_1.2.1.tar.gz(r-4.5-noble)NFCP_1.2.1.tar.gz(r-4.4-noble)
NFCP_1.2.1.tgz(r-4.4-emscripten)NFCP_1.2.1.tgz(r-4.3-emscripten)
NFCP.pdf |NFCP.html
NFCP/json (API)
NEWS

# Install 'NFCP' in R:
install.packages('NFCP', repos = c('https://tomaspinall.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/tomaspinall/nfcp/issues

Datasets:
  • SS_oil - Crude oil term structure futures data

On CRAN:

4.40 score 5 stars 5 scripts 312 downloads 14 exports 13 dependencies

Last updated 3 years agofrom:15f0ad0364. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 04 2024
R-4.5-winNOTENov 04 2024
R-4.5-linuxNOTENov 04 2024
R-4.4-winNOTENov 04 2024
R-4.4-macNOTENov 04 2024
R-4.3-winNOTENov 04 2024
R-4.3-macNOTENov 04 2024

Exports:A_TAmerican_option_valuecov_funcEuropean_option_valuefutures_price_forecastfutures_price_simulateNFCP_domainsNFCP_Kalman_filterNFCP_MLENFCP_parametersspot_price_forecastspot_price_simulatestitch_contractsTSfit_volatility

Dependencies:clicurlFKF.SPgluelifecycleLSMRealOptionsMASSmathjaxrnumDerivrbibutilsRdpackrgenoudrlang

Modeling, Forecasting and Simulating Commodity Prices through Term Structure Estimation using Kalman Filtering: The R Package 'NFCP'

Rendered fromNFCP.Rmdusingknitr::rmarkdownon Nov 04 2024.

Last update: 2022-02-17
Started: 2021-01-09