snssde3D(Sim.DiffProc)
snssde3D()所属R语言包:Sim.DiffProc
Numerical Solution of Three-Dimensional SDE
三维SDE的数值解
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Different methods of simulation of solutions to stochastic differential equations Three-dimensional.
不同的方法解决方案的模拟到三维随机微分方程。
用法----------Usage----------
snssde3D(N, T = 1, t0, x0, y0, z0, Dt, driftx, drifty, driftz, diffx,
diffy, diffz, Step = FALSE, Output = FALSE, Methods = c
("SchEuler", "SchMilstein", "SchMilsteinS",
"SchTaylor", "SchHeun", "SchRK3"), ...)
参数----------Arguments----------
参数:N
size of process.
大小的处理。
参数:T
final time.
最后的时间。
参数:t0
initial time.
初始时间。
参数:x0
initial value of the process X(t) at time t0.
初始值的过程X(t)在时间t0。
参数:y0
initial value of the process Y(t) at time t0.
初始值的过程Y(t)在时间t0。
参数:z0
initial value of the process Z(t) at time t0.
初始值的过程Z(t)在时间t0。
参数:Dt
time step of the simulation (discretization).
模拟的时间步长(discretization)。
参数:driftx
drift coefficient of process X(t): an expression of variables t , x and y, z.
漂移的过程X(t):一个表达式的变量t,x和y,z。
参数:drifty
drift coefficient of process Y(t): an expression of variables t , x and y, z.
漂移的过程Y(t):一个表达式的变量t,x和y,z。
参数:driftz
drift coefficient of process Z(t): an expression of variables t , x and y, z.
漂移的过程Z(t):一个表达式的变量t,x和y,z。
参数:diffx
diffusion coefficient of process X(t): an expression of variables t , x and y, z.
扩散系数的过程X(t):一个表达式的变量t,x和y,z。
参数:diffy
diffusion coefficient of process Y(t): an expression of variables t , x and y, z.
扩散系数的过程Y(t):一个表达式的变量t,x和y,z。
参数:diffz
diffusion coefficient of process Z(t): an expression of variables t , x and y, z.
扩散系数的过程Z(t):一个表达式的变量t,x和y,z。
参数:Step
if Step = TRUE ploting step by step.
如果Step = TRUE图一步一步的。
参数:Output
if output = TRUE write a output to an Excel (.csv).
如果output = TRUE写的output到Excel(CSV)。
参数:Methods
method of simulation ,see details.
的模拟方法,see details。
参数:...
Details
详细信息----------Details----------
the system for stochastic differential equation Two dimensional is :
系统随机微分方程二维是:
Simulation methods are usually based on discrete approximations of the continuous solution to a stochastic differential equation. The methods of approximation are classified according to their different properties. Mainly two criteria of optimality are used in the literature: the strong and the weak (orders of) convergence. The methods of simulation can be one among: Euler Order 0.5 , Milstein Order 1 , Milstein Second-Order , Ito-Taylor Order 1.5 , Heun Order 2 , Runge-Kutta Order 3.
模拟方法通常是基于一个随机微分方程的连续解的离散近似。根据其不同的特性进行分类的方法近似。主要有两方面的最优标准文献中所使用的强与弱(订单)收敛。 methods模拟中的一个:Euler Order 0.5,Milstein Order 1,Milstein Second-Order,Ito-Taylor Order 1.5,Heun Order 2,Runge-Kutta Order 3。
值----------Value----------
data.frame(time,X(t),Y(t),Z(t)) and plot of process 3-D.
数据框(时间,X(T),Y(T),Z(t))和积3-D的过程。
注意----------Note----------
If methods is not specified, it is assumed to be the Euler Scheme.
如果methods没有被指定,它被假定为是Euler Scheme。
If T and t0 specified, the best discretization Dt = (T-t0)/N.
如果T和t0指定的,最好的离散Dt = (T-t0)/N。
(作者)----------Author(s)----------
Boukhetala Kamal, Guidoum Arsalane.
参见----------See Also----------
snssde numerical solution of one-dimensional SDE. snssde2D numerical solution of Two-dimensional SDE. PredCorr predictor-corrector method for one-dimensional SDE. PredCorr2D predictor-corrector method for Two-dimensional SDE. PredCorr3D predictor-corrector method for Three-dimensional SDE.
snssde数值解的一维的SDE。 snssde2D数值解二维SDE。 PredCorr预报 - 校正的方法,一维的SDE。 PredCorr2D预测校正方法二维SDE。 PredCorr3D预测校正方法的三维SDE。
实例----------Examples----------
driftx <- expression(0)
drifty <- expression(0)
driftz <- expression(0)
diffx <- expression(1)
diffy <- expression(1)
diffz <- expression(1)
snssde3D(N=1000, T = 1, t0=0, x0=0, y0=0, z0=0, Dt=0.001,
driftx, drifty, driftz, diffx,diffy, diffz)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|