Complete Stochastic Modelling Solution

Makes univariate, multivariate, or random fields simulations precise and simple. Just select the desired time series or random fields’ properties and it will do the rest. CoSMoS is based on the framework described in Papalexiou (2018, ), extended for random fields in Papalexiou and Serinaldi (2020, ), and further advanced in Papalexiou et al. (2021, ) to allow fine-scale space-time simulation of storms (or even cyclone-mimicking fields).


CoSMoS is an R package that makes time series generation with desired properties easy. Just choose the characteristics of the time series you want to generate, and it will do the rest. The generated time series preserve any probability distribution and any linear autocorrelation structure. Users can generate as many and as long time series from processes such as precipitation, wind, temperature, relative humidity etc. It is based on a framework that unified, extended, and improved a modelling strategy that generates time series by transforming “parent” Gaussian time series having specific characteristics (Papalexiou, 2018).

Install

To install the latest version of the package run:

if (!require('devtools')) {install.packages('devtools'); library(devtools)} 
 
install_github('strnda/CoSMoS', upgrade = 'never')
 
library(CoSMoS)

Funding

The package was partly funded by the Global institute for Water Security (GIWS; https://www.usask.ca/water/) and the Global Water Futures (GWF; https://gwf.usask.ca/) program.

Authors

Coded and maintained by: Filip Strnad
Conceptual design by: Simon Michael Papalexiou, and Filip Strnad
Beta tested by: Filip Strnad, Yannis Markonis, and Simon Michael Papalexiou

References

Papalexiou, S.M., 2018. Unified theory for stochastic modelling of hydroclimatic processes: Preserving marginal distributions, correlation structures, and intermittency. Advances in Water Resources 115, 234-252. https://doi.org/10.1016/j.advwatres.2018.02.013

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("CoSMoS")

2.1.0 by Kevin Shook, 5 months ago


https://github.com/TycheLab/CoSMoS


Browse source code at https://github.com/cran/CoSMoS


Authors: Simon Michael Papalexiou [aut] , Francesco Serinaldi [aut] , Filip Strnad [aut] , Yannis Markonis [aut] , Kevin Shook [ctb, cre]


Documentation:   PDF Manual  


Task views: Hydrological Data and Modeling


GPL-3 license


Imports utils, methods, stats, grDevices, nloptr, MBA, Matrix, mAr, matrixcalc, mvtnorm, cowplot, directlabels, animation, ggquiver, pracma, plot3D

Depends on ggplot2, data.table

Suggests testthat, knitr, rmarkdown


See at CRAN