Learn R Programming

invgamstochvol (version 1.0.0)

Obtains the Log Likelihood for an Inverse Gamma Stochastic Volatility Model

Description

Computes the log likelihood for an inverse gamma stochastic volatility model using a closed form expression of the likelihood. The details of the computation of this closed form expression are given in Gonzalez and Majoni (2023) . The closed form expression is obtained for a stationary inverse gamma stochastic volatility model by marginalising out the volatility. This allows the user to obtain the maximum likelihood estimator for this non linear non Gaussian state space model. In addition, the user can obtain the estimates of the smoothed volatility using the exact smoothing distributions.

Copy Link

Version

Install

install.packages('invgamstochvol')

Monthly Downloads

152

Version

1.0.0

License

MIT + file LICENSE

Maintainer

Blessings Majoni

Last Published

August 18th, 2023

Functions in invgamstochvol (1.0.0)

extra

Package to compute the log likelihood for an inverse gamma stochastic volatility model and to draw from the exact posterior of the inverse volatilities.
ourgeo

Computes the 2F1 Hypergeometric Function
lik_clo

Compute the log likelihood for an inverse gamma stochastic volatility model
US_Inf_Data

Data to use in the invgamstochvol package
DrawK0

Obtains a random draw from the exact posterior of the inverse volatilities.