BMRW(Sim.DiffProc)
BMRW()所属R语言包:Sim.DiffProc
Creating Brownian Motion Model (by a Random Walk)
创建布朗运动模型(随机游动)
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Simulation of the brownian motion model by a Random Walk.
的布朗运动的随机游走模型模拟。
用法----------Usage----------
BMRW(N, t0, T, C, output = FALSE)
参数----------Arguments----------
参数:N
size of process.
大小的处理。
参数:t0
initial time.
初始时间。
参数:T
final time.
最后的时间。
参数:C
constant positive (if C = 1 it is standard brownian motion).
恒定正(if C = 1 it is standard brownian motion“)。
参数:output
if output = TRUE write a output to an Excel (.csv).
如果output = TRUE写的output到Excel(CSV)。
Details
详细信息----------Details----------
One characterization of the Brownian motion says that it can be seen as the limit of a random walk in the following sense.
说,它可以被看作是一个随机游走的限制在以下意义的布朗运动的一个表征。
Given a sequence of independent and identically distributed random variables X1, X2, . . . , Xn, taking only two values +1 and -1 with equal probability and considering the partial sum, Sn = X1+ X2+ . . . + Xn. then, as n --> lnf,P(Sn/sqrt(N) < x) = P( W(t) < x).
鉴于独立同分布的随机变量序列的X1, X2, . . . , Xn,只有两个值+1和-1以相同的概率,并考虑部分sum,Sn = X1+ X2+ . . . + Xn。然后,n --> lnf,P(Sn/sqrt(N) < x) = P( W(t) < x)。
Where [x] is the integer part of the real number x. Please note that this result is a refinement of the central limit theorem that, in our case, asserts that Sn/sqrt(n) ~~> N(0,1).
这里“[x]是实数x的整数部分。请注意,这个结果是一个完善的中心极限定理,在我们的例子中,声称Sn/sqrt(n) ~~> N(0,1)。
值----------Value----------
data.frame(time,x) and plot of process.
数据框(时间,x)和图的过程。
(作者)----------Author(s)----------
Boukhetala Kamal, Guidoum Arsalane.
参见----------See Also----------
BMN simulation brownian motion by the normal distribution, BMNF simulation flow of brownian motion by the normal distribution, BMRWF simulation flow of brownian motion by a random walk, BB Simulation of brownian bridge model, GBM simulation geometric brownian motion Model.
BMN模拟布朗运动的正常分布,BMNF仿真流程中的布朗运动的正常分布,BMRWF仿真流程的布朗运动的随机游走,BB模拟布朗桥模型,GBM模拟几何布朗运动模型。
实例----------Examples----------
BMRW(N=1000,t0=0,T=1,C=1)
BMRW(N=1000,t0=0,T=1,C=10)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|