ABM(Sim.DiffProc)
ABM()所属R语言包:Sim.DiffProc
Creating Arithmetic Brownian Motion Model
创建算术布朗运动模型
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Simulation of the arithmetic brownian motion model.
的算术布朗运动模型模拟。
用法----------Usage----------
ABM(N, t0, T, x0, theta, sigma, output = FALSE)
参数----------Arguments----------
参数:N
size of process.
大小的处理。
参数:t0
initial time.
初始时间。
参数:T
final time.
最后的时间。
参数:x0
initial value of the process at time t0.
初始值的过程中,在时间t0。
参数:theta
constant (Coefficient of drift).
常数(Coefficient of drift“)。
参数:sigma
constant positive (Coefficient of diffusion).
恒定正(Coefficient of diffusion“)。
参数:output
if output = TRUE write a output to an Excel (.csv).
如果output = TRUE写的output到Excel(CSV)。
Details
详细信息----------Details----------
The function ABM returns a trajectory of the Arithmetic Brownian motion starting at x0 at time t0, than the Discretization dt = (T-t0)/N.
函数ABM开始时间x0t0,比离散dt = (T-t0)/N返回的算术布朗运动的轨迹。
The stochastic differential equation of the Arithmetic Brownian motion is :
算术布朗运动的随机微分方程的是:
with theta :drift coefficient and sigma :diffusion coefficient,W(t) is Wiener process.
theta :drift coefficient和sigma :diffusion coefficient,W(t)是维纳过程。
值----------Value----------
data.frame(time,x) and plot of process.
数据框(时间,x)和图的过程。
(作者)----------Author(s)----------
Boukhetala Kamal, Guidoum Arsalane.
参见----------See Also----------
ABMF creating flow of the arithmetic brownian motion model.
ABMF流的算术布朗运动模型。
实例----------Examples----------
## Arithmetic Brownian Motion Model[#算术布朗运动模型]
## dX(t) = 3 * dt + 2 * dW(t) ; x0 = 0 and t0 = 0[#DX(T)= 3 * DT + 2 * DW(T); X0 = 0和t0 = 0]
ABM(N=1000,t0=0,T=1,x0=0,theta=3,sigma=2)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|