ABMF(Sim.DiffProc)
ABMF()所属R语言包:Sim.DiffProc
Creating Flow of The Arithmetic Brownian Motion Model
创建流的算术布朗运动模型
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Simulation flow of the arithmetic brownian motion model.
的算术布朗运动模型的仿真流程。
用法----------Usage----------
ABMF(N, M, t0, T, x0, theta, sigma, output = FALSE)
参数----------Arguments----------
参数:N
size of process.
大小的处理。
参数:M
number of trajectories.
的轨迹数。
参数: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 ABMF returns a flow of the Arithmetic Brownian motion starting at x0 at time t0, than the discretization dt = (T-t0)/N.
的功能ABMF返回的流程的开始x0算术布朗运动在时间t0,比所述离散化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----------
ABM creating the arithmetic brownian motion model.
ABM创建的算术布朗运动模型。
实例----------Examples----------
## Flow of 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]
ABMF(N=1000,M=5,t0=0,T=1,x0=0,theta=3,sigma=2)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|