Learn R Programming

⚠️There's a newer version (0.1.3) of this package.Take me there.

DiffusionRgqd

Inference and Analysis for Generalized Quadratic Diffusions

What is DiffusionRgqd?

DiffusionRgqd is collection of tools for performing inference and analysis on scalar and bivariate time-inhomogeneous diffusion processes with quadratic drift and diffusion terms in R.

Why use DiffusionRgqd?

DiffusionRgqd provides a simple interface that requires minimal mathematical input in order to perform analysis on non-linear, time-inhomogeneous diffusion processes. The package also makes use of C++ in order to maximize the computational efficiency of inference routines. As such it is possible to conduct inference on a plethora of models in a desktop environment without incurring excessively long computation times.

Get DiffusionRgqd?

Check out DiffusionRgqd for the package source files, vignettes and other downloadable content or visit the DiffusionRgqd CRAN page.

Installation Notes

Mac users may have to carry out some additional installation procedures in order for DiffusionRjgqd to operate optimally.

Mac users:

To install the latest version of Rcpp, the latest version of R is needed. To install RcppArmadillo, the Fortran version used by R needs to be updated. To install rgl, the computer needs to have X11 installed. Update R to the latest version. Run the following code: install.packages("Rcpp", type = "source",dep=T)

Open a Terminal and run the following code:

curl -O http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2 sudo tar fvxz gfortran-4.8.2-darwin13.tar.bz2 -C /

Back in R, run the following code:

install.packages("RcppArmadillo",dep=T)

Make sure you have X11 installed.

Go to Applications/Utilities and see if X11 is there. If not, you’ll need to install X11 or XQuartz. These are available from http://xquartz.macosforge.org/landing/

Back in R, run the following code:

install.packages(“rgl",dep=T)

Download the DiffusionRjgqd package and run the code:

install.packages("~/DiffusionRgqd_1.0.tar.gz", repos = NULL, type = "source”)

Run the following code in R to see if the package works:

library(DiffpackRgqd) example(GQD.density) example(GQD.mcmc)

Copy Link

Version

Install

install.packages('DiffusionRgqd')

Monthly Downloads

9

Version

0.1.2

License

GPL (>= 2)

Maintainer

Etienne AD Pienaar

Last Published

January 20th, 2016

Functions in DiffusionRgqd (0.1.2)

SDEsim3

Simulated Stochastic Lotka-Volterra Eqns
BiGQD.density

Generate the Transition Density of a Bivariate Generalized Quadratic Diffusion Model (2D GQD).
GQD.remove

Remove the Coefficients of a GQD Model.
SDEsim1

A Simulated Diffusion with Sinusoidal Drift and State-Dependant Diffusion Coefficient.
DiffusionRgqd-package

A package for Performing Inference and Analysis on Generalized Quadratic Diffusion Processes (GQDs).
BiGQD.mcmc

MCMC Inference on Bivariate Generalized Quadratic Diffusions (2D GQDs).
GQD.passage

Calculate the First Passage Time Density of a Time-Homogeneous GQD Process to a Fixed Barrier.
GQD.mcmc

MCMC Inference on Generalized Quadratic Diffusion Models (GQDs).
SDEsim4

A Simulated Non-Linear Bivariate Diffusion With Time-Inhomogeneous Coefficients
RcppArmadillo-Functions

A Junk Funktion For Build Purposes
GQD.density

Generate the Transition Density of a Scalar Generalized Quadratic Diffusion (GQD).
GQD.plot

Quick Plots for DiffusionRgqd Objects
GQD.mle

MLEs for Generalized Quadratic Diffusion Models (GQDs).
SDEsim5

Simulated First Passage Times for a Time-Inhomogeneous Non-Linear Diffusion
GQD.aic

Summarize MLE Selection Output for a List of GQD.mle or BiGQD.mle objects.
GQD.TIpassage

Compute the First Passage Time Density of a GQD With Time Inhomogeneous Coefficients.
GQD.estimates

Extract Parmaeter Estimates from .mle() or .mcmc() Objects.
SDEsim2

A Simulated Non-Linear Bivariate Diffusion
GQD.dic

Summarize MCMC Selection Output for a List of GQD.mcmc or BiGQD.mcmc objects.
BiGQD.mle

Calculate Maximum Likelihood Estimates for a 2D GQD Model.