SRW(Sim.DiffProc)
SRW()所属R语言包:Sim.DiffProc
Creating Random Walk
创建随机游走
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Simulation random walk.
仿真随机游走。
用法----------Usage----------
SRW(N, t0, T, p, output = FALSE)
参数----------Arguments----------
参数:N
size of process.
大小的处理。
参数:t0
initial time.
初始时间。
参数:T
final time.
最后的时间。
参数:p
probability of choosing X = -1 or +1.
概率选择X = -1 or +1。
参数:output
if output = TRUE write a output to an Excel (.csv).
如果output = TRUE写的output到Excel(CSV)。
值----------Value----------
data.frame(time,x) and plot of process.
数据框(时间,x)和图的过程。
(作者)----------Author(s)----------
Boukhetala Kamal, Guidoum Arsalane.
参见----------See Also----------
Stgamma Stochastic Process The Gamma Distribution, Stst Stochastic Process The Student Distribution, WNG White Noise Gaussian.
Stgamma随机过程的Gamma分布,Stst随机过程中,学生分布,WNG的的白噪声高斯。
实例----------Examples----------
## Random Walk[#随机游走]
SRW(N=1000,t0=0,T=1,p=0.5)
SRW(N=1000,t0=0,T=1,p=0.25)
SRW(N=1000,t0=0,T=1,p=0.75)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|