Learn R Programming

SMFI5 (version 1.0)

est.feller: Estimates the parameters of the Feller process.

Description

Estimates the parameters of the Feller process

dr = alpha(beta-r)dt + sigma sqrt(r) dW

The time scale is in years and the units are percentages.

Usage

est.feller(data, method = "Hessian", days = 360, significanceLevel = 0.95)

Arguments

data
annual bonds yields in percentage;
method
'Hessian' (default), 'num';
days
number of days per year (default: 360);
significanceLevel
(95% default).

Value

param
parameters (alpha, beta, sigma) of the model;
error
estimation errors for the given confidence level.

References

Chapter 5 of 'Statistical Methods for Financial Engineering, B. Remillard, CRC Press, (2013).

Examples

Run this code
data(data.cir)
out = est.feller(data.cir[,1]) #The first colum contains returns.

Run the code above in your browser using DataLab