meanScenarios: Calculate the average stochastic scenario

Description Usage Arguments Value Examples

Description

Calculates the mean of the stochastic scenarios at each time

Usage

1
meanScenarios(scenarios)

Arguments

scenarios

A data frame containing the scenarios, in format of the output of hull_white()

Value

A vector containing the mean of the stochastic scenarios at each time

Examples

1
2
soaScenarios <- bmarkScenarios("~/Desktop/StocVal/Data/soascenario.csv");
 meanScenarios.out <- meanScenarios(soaScenarios$term1)

nathanesau/StocVal documentation built on May 23, 2019, 12:18 p.m.