Learn R Programming

NFCP (version 1.0.1)

NFCP.Kalman.filter: N-Factor Commodity Pricing Kalman Filter

Description

`r lifecycle::badge("deprecated")`

This function was deprecated due to a change in the name of the function to adhere to the tidyverse style guide.

Usage

NFCP.Kalman.filter(
  parameter.values,
  parameters,
  log.futures,
  dt,
  TTM,
  verbose = FALSE,
  debugging = FALSE
)

Arguments

Examples

Run this code
# NOT RUN {
output <- NFCP.Kalman.filter(
 parameter.values = SS.Oil$Two.Factor,
 parameters = names(SS.Oil$Two.Factor),
 log.futures = log(SS_oil$stitched_futures),
 TTM = SS_oil$stitched_TTM,
 dt = SS_oil$dt,
 verbose = FALSE)

## ->

output <- NFCP_Kalman_filter(
parameter_values = SS_oil$two_factor,
parameter_names = names(SS_oil$two_factor),
log_futures = log(SS_oil$stitched_futures),
futures_TTM = SS_oil$stitched_TTM,
dt = SS_oil$dt,
verbose = FALSE)

# }

Run the code above in your browser using DataLab