宠辱不惊淡看庭前花开花谢, 去留 ...分享 http://blog.sciencenet.cn/u/zhangshibin 专业: 概率论与数理统计 研究方向: 时空数据统计分析,包括随机过程统计、时间序列分析、空间统计、统计计算、贝叶斯统计等

博文

R functions for simulation of Brownian motion

已有 4187 次阅读 2010-6-22 14:32 |个人分类:学术交流|系统分类:科研笔记|关键词:学者

R functions for simulation of Brownian motion
 
1 Introduction

Type: R functions for simulation of Brownian motion
Date: 2010-6-22
Author: Shibin Zhang
Maintainer: Shibin Zhang <sbzhang@shmtu.edu.cn>
Description: This document provides R functions for simulation of Brownian motion.
Usage: To use the software, you will need to download the file BM.R into a
suitable directory on your computer. This contains the functions listed below
and various supporting functions. You should not need to look at the R code
in this file unless you want to see the details of what's going on.

2 The functions

BM(x0=0,t0=0,t1=T,N=100,mu=0,sigma=1)

The function BM gives a trajection of Brownian Motion with drift mu and volatility sigma, and starts from x0.
This trajection is from time t0 to t1, and observed equidistant with finally generated N+1 points.

 

 

BM.R

https://m.sciencenet.cn/blog-116301-337768.html

上一篇:New Work: Transition Law-based Simulation of Generalized Inverse Gaussian Ornste
下一篇:R functions for simulation of Compound Poisson processes with normal jumps

0

发表评论 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-6-3 04:22

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部