testMertonSimDensity: Verify the empirical density of Merton simulated variates

View source: R/merton-tests.R

testMertonSimDensityR Documentation

Verify the empirical density of Merton simulated variates

Description

Compares the empirical density of simulated variates against the exact density per the infinite mixture formula, for Merton log dynamics.

Usage

testMertonSimDensity(n, t, param)

Arguments

n

number of variates to simulate

t

the terminal time-horizon

param

the parameter set defining the jump diffusion dynamics

Value

vector of errors


shill1729/findistr documentation built on May 20, 2024, 9:43 a.m.