Description Usage Arguments Author(s) Examples
Generic function for compute the kurtosis, skewness, median, mode and coefficient of variation (relative variability), moment and confidence interval of class "sde"
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
x |
an object inheriting from class |
order |
order of moment. |
center |
if |
level |
the confidence level required. |
... |
potentially further arguments for (non-default) methods. |
A.C. Guidoum, K. Boukhetala.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Example 1:
## dX(t) = 2*(3-X(t)) *dt + dW(t)
set.seed(1234)
f <- expression( 2*(3-x) )
g <- expression( 1 )
mod <- snssde1d(drift=f,diffusion=g,M=10000,T=5)
## Monte-Carlo statistics of 5000 trajectory of X(t) at final time T of 'mod'
summary(mod)
kurtosis(mod)
skewness(mod)
mean(mod)
Median(mod)
Mode(mod)
moment(mod,order=4)
cv(mod)
bconfint(mod,level = 0.95) ## of mean
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.