Learn R Programming

yuima: Simulation and Inference for SDEs and Other Stochastic Processes

This R package performs various central statistical analyses such as quasi maximum likelihood estimation, adaptive Bayes estimation, structural change point analysis, hypotheses testing, asynchronous covariance estimation, lead-lag estimation, LASSO model selection, and so on. It also supports stochastic numerical analysis by fast computation of the expected value of functionals of stochastic processes through automatic asymptotic expansion by means of the Malliavin calculus. All models can be multidimensional, multiparametric or non parametric.

Installation

Install the stable release from CRAN:

install.packages("yuima")

For developers

When you add Rcpp or other C code, please always do, within R-devel Console:

tools::package_native_routine_registration_skeleton('yuima',,,FALSE)

take the output and update the file src/yuima_init.c with the above output.

Help

See the help of "package_native_routine_registration_skeleton"

library(tools)
?package_native_routine_registration_skeleton

This page is also of interest.

Acknowledgments

The Project has been funded up to 2010 by the Japan Science Technology (JST) Basic Research Programs PRESTO, Grants-in-Aid for Scientific Research No. 19340021. Presently, the YUIMA Project is supported by the Japan Science and Technology Agency CREST.

Copy Link

Version

Install

install.packages('yuima')

Monthly Downloads

1,152

Version

1.15.34

License

GPL-2

Maintainer

Yuta Koike

Last Published

December 14th, 2025

Functions in yuima (1.15.34)

aeExpectation

Asymptotic Expansion - Functionals
aeCharacteristic

Asymptotic Expansion - Characteristic Function
LawMethods

Methods for an Object of Class yuima.law
LogSPX

Five Minutes Log SPX Prices
ae

Asymptotic Expansion
aeDensity

Asymptotic Expansion - Density
Intensity.PPR

Intesity Process for the Point Process Regression Model
adaBayes

Adaptive Bayes Estimator for the Parameters in SDE Model
MWK151

Graybill - Methuselah Walk - PILO - ITRDB CA535
JBtest

Remove Jumps and Calculate the Gaussian Quasi-likelihood Estimator Based on the Jarque-Bera Normality Test
carma.info-class

Class for Information about CARMA(p,q) Model
aeMean

Asymptotic Expansion - Mean
aeMoment

Asymptotic Expansion - Moments
carmaHawkes.info-class

Class for Information on the Hawkes Process with a CARMA(p,q) Intensity
aeMarginal

Asymptotic Expansion - Marginals
aeKurtosis

Asymptotic Expansion - Kurtosis
asymptotic_term

Asymptotic Expansion of the Expected Value of the Functional
aeSkewness

Asymptotic Expansion - Skewness
aeSd

Asymptotic Expansion - Standard Deviation
bns.test

Barndorff-Nielsen and Shephard's Test for the Presence of Jumps Using Bipower Variation
cogarch.info-class

Class for Information about COGARCH(p,q)
cogarch.est.incr-class

Class for Estimation of COGARCH(p,q) Model with Underlying Increments
cogarchNoise

Estimation for the Underlying Levy in a COGARCH(p,q) Model
cogarch.est.-class

Class for Generalized Method of Moments Estimation for COGARCH(p,q) Model
cce.factor

High-Dimensional Cumulative Covariance Estimator by Factor Modeling and Regularization
get.counting.data

Extract Arrival Times from an Object of Class yuima.PPR
estimation_LRM

Estimation of the t-Levy Regression Model
gmm

Method of Moments for COGARCH(P,Q)
fitCIR

Calculate Preliminary Estimator and One-step Improvements of a Cox-Ingersoll-Ross Diffusion
cce

Nonsynchronous Cumulative Covariance Estimator
lasso

Adaptive LASSO Estimation for Stochastic Differential Equations
lambdaFromData

Intensity of a Point Process Regression Model
info.Map-class

Class for Information about Map/Operators
kalmanBucyFilter

Kalman-Bucy Filter
limiting.gamma

Calculate the Value of Limiting Covariance Matrices : Gamma
llag.test

Wild Bootstrap Test for the Absence of Lead-Lag Effects
hyavar

Asymptotic Variance Estimator for the Hayashi-Yoshida Estimator
info.PPR

Class for Information about Point Process
initialize,yuima.ae-method

Constructor for yuima.ae Class
llag

Lead Lag Estimator
param.Map-class

Class for Information about Map/Operators
model.parameter-class

Class for the Parameter Description of Stochastic Differential Equations
lm.jumptest

Lee and Mykland's Test for the Presence of Jumps Using Normalized Returns
param.Integral

Class for the Mathematical Description of Integral of a Stochastic Process
ntv

Volatility Estimation and Jump Test Using Nearest Neighbor Truncation
mmfrac

mmfrac
mpv

Realized Multipower Variation
lseBayes

Adaptive Bayes Estimator for the Parameters in SDE Model by Using LSE Functions
noisy.sampling

Noisy Observation Generator
mllag

Multiple Lead-Lag Detector
phi.test

Phi-divergence Test Statistic for Stochastic Differential Equations
plot,yuima.ae,ANY-method

Plot Method for yuima.ae Class
plot,yuima.kalmanBucyFilter,ANY-method

Plotting Method for Kalman-Bucy Filter
poest

P-O Estimator
qgv

qgv
qmle

Calculate Quasi-likelihood and ML Estimator of Least Squares Estimator
pz.test

Podolskij and Ziggel's Test for the Presence of Jumps Using Power Variation with Perturbed Truncation
poisson.random.sampling

Poisson Random Sampling Method
qmleLevy

Gaussian Quasi-likelihood Estimation for Levy Driven SDE
qmleDegenerate

Quasi-likelihood Estimation for Degenerate Diffusion Processes
setCogarch

Continuous-time GARCH (p,q) Process
setHawkes

Constructor of Hawkes Model
qmle.linear_state_space_model

Calculate Quasi-Likelihood and Maximum Likelihood Estimator for Linear State Space Model
setCarmaHawkes

Hawkes Process with a Continuous Autoregressive Moving Average(p, q) Intensity
setCarma

Continuous Autoregressive Moving Average (p, q) Model
rconst

Fictitious RNG for the Constant Random Variable Used to Generate and Describe Poisson Jumps
rng

Random Numbers and Densities
setCharacteristic

Set Characteristic Information and Create a `characteristic' Object
setFunctional

Description of a Functional Associated with a Perturbed Stochastic Differential Equation
setData

Set and Access Data of an Object of Type "yuima.data" or "yuima"
setLaw

Random Variable Constructor
setSampling

Set Sampling Information and Create a `sampling' Object
setMap

Map of a Stochastic Differential Equation
setLRM

A Constructor of a t-Student Regression Model
setLaw_th

Constructior of a t-Levy Process
setIntegral

Integral of Stochastic Differential Equation
setModel

Basic Description of Stochastic Differential Equations (SDE)
setPoisson

Basic Constructor for Compound Poisson Processes
setYuima

Creates a "yuima" Object by Combining "model", "data", "sampling", "characteristic" and "functional" Slots
setPPR

Point Process
variable.Integral

Class for the Mathematical Description of Integral of a Stochastic Process
snr

Calculating Self-normalized Residuals for SDEs
simBmllag

Simulation of Increments of Bivariate Brownian Motions with Multi-scale Lead-lag Relationships
toLatex

Additional Methods for LaTeX Representations for Yuima Objects
subsampling

subsampling
simFunctional

Calculate the Value of Functional
spectralcov

Spectral Method for Cumulative Covariance Estimation
simulate

Simulator Function for Multi-dimensional Stochastic Processes
simCIR

Simulation of the Cox-Ingersoll-Ross Diffusion
wllag

Scale-by-scale Lead-lag Estimation
ybook

R Code for the Yuima Book
yuima.Integral-class

Class for the Mathematical Description of Integral of a Stochastic Process
Class for Quasi Maximum Likelihood Estimation of Point Process Regression Models

Class for Quasi Maximum Likelihood Estimation of Point Process Regression Models
yuima.LevyRM-class

yuima.LevyRM: A Class for the Mathematical Description of the t-Student Regression Model
yuima-class

Class for Stochastic Differential Equations
yuima.adabayes-class

Class for Adaptive Bayes Estimation of Stochastic Differential Equations
yuima.Hawkes

Class for a Mathematical Description of a Point Process
yuima.Map-class

Class for the Mathematical Description of Function of a Stochastic Process
yuima.PPR

Class for a Mathematical Description of a Point Process
yuima.CP.qmle-classss

Class for Quasi Maximum Likelihood Estimation of Compound Poisson-based and SDE Models
yuima.carmaHawkes-class

Class for the Mathematical Description of a Hawkes Process with a CARMA(p,q) Intensity
yuima.characteristic-class

Classe for Stochastic Differential Equations Characteristic Scheme
yuima.law-class

yuima law-class: A Mathematical Description for the Noise
yuima.carma-class

Class for the Mathematical Description of CARMA(p,q) Model
yuima.linear_state_space_model-class

Class for the Mathematical Description of Linear State Space Models
yuima.functional-class

Classes for Stochastic Differential Equations Data Object
yuima.cogarch-class

Class for the Mathematical Description of CoGarch(p,q) Model
yuima.data-class

Class "yuima.data" for the Data Slot of a "yuima" Class Object
yuima.ae-class

Class for the Asymptotic Expansion of Diffusion Processes
yuima.qmleLevy.incr

Class for Quasi Maximum Likelihood Estimation of Levy SDE Model
yuima.state_space_model-class

Class for the Mathematical Description of State Space Models
yuima.carma.qmle-class

Class for Quasi Maximum Likelihood Estimation of CARMA(p,q) Model
yuima.sampling-class

Classes for Stochastic Differential Equations Sampling Scheme
yuima.model-class

Classes for the Mathematical Description of Stochastic Differential Equations
yuima.th-class

yuima.th-class: A Mathematical Description for the t-Levy Process
yuima.snr-class

Class "yuima.snr" for Self-normalized Residuals of SDE "yuima" Class Object
yuima.poisson-class

Class for the Mathematical Description of Compound Poisson Processes
yuima.multimodel-class

Class for the miMathematical Description of Multi Dimensional Jump Diffusion Processes
Integral.sde

Class for the Mathematical Description of Integral of a Stochastic Process
FromCF2yuima_law

From a Characteristic Function to an yuima.law-object
CPoint

Volatility Structural Change Point Estimator
Diagnostic.Cogarch

Function for Checking the Statistical Properties of the COGARCH(p,q) Model
Integrand

Class for the Mathematical Description of Integral of a Stochastic Process
DataPPR

From zoo Data to yuima.PPR
EstimCarmaHawkes

Estimation Methods for a CARMA(p,q)-Hawkes Counting Process
CarmaNoise

Estimation for the Underlying Levy in a Carma Model
IC

Information Criteria for the Stochastic Differential Equation
Diagnostic.Carma

Diagnostic Carma Model