[Yuima-commits] r42 - pkg/yuima/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Dec 9 06:08:24 CET 2009


Author: iacus
Date: 2009-12-09 06:08:24 +0100 (Wed, 09 Dec 2009)
New Revision: 42

Modified:
   pkg/yuima/man/simulate.Rd
Log:
up

Modified: pkg/yuima/man/simulate.Rd
===================================================================
--- pkg/yuima/man/simulate.Rd	2009-12-09 04:39:25 UTC (rev 41)
+++ pkg/yuima/man/simulate.Rd	2009-12-09 05:08:24 UTC (rev 42)
@@ -28,6 +28,10 @@
 
 It simulates solutions of stochastic differential equations with Gaussian noise,
 fractional Gaussian noise awith/without jumps.
+
+By default, \code{methodfGn = "Cholesky"} uses the exact method based on the
+Cholesky decomposition. This method may not work, i.e. the computation is 
+stopped, for too long grids due to memory constraints.
 }
 \value{
   \item{yuima}{A multi-dimensional \code{yuima} object(time series object).}
@@ -63,11 +67,22 @@
 ou1 <- setYuima(model=mod1, sampling=samp)
 
 # Solve SDEs using Euler-Maruyama method. 
-ou1 <- simulate(ou, xinit=1, true.p = list(theta=-1))
+ou1 <- simulate(ou1, xinit=1, true.p = list(theta=-1))
 plot(ou1)
 
 
+# Path-simulation for 1-dim diffusion process with fractional noise. 
+# dXt = theta*Xt*dt + dWt^h
+mod2 <- setModel(drift="theta*y", diffusion=1, solve.variable=c("y"), hurst=0.3)
+str(mod2)
+ou2 <- setYuima(model=mod2, sampling=samp)
 
+# Solve SDEs using Euler-Maruyama method. 
+ou2 <- simulate(ou2, xinit=1, true.p = list(theta=-1))
+plot(ou2)
+
+
+
 # A multi-dimensional (correlated) diffusion process. 
 # To describe the following model: 
 # X=(X1,X2,X3); dXt = U(t,Xt)dt + V(t)dWt



More information about the Yuima-commits mailing list