CoSMoS2.1.0 package

Complete Stochastic Modelling Solution

acs

AutoCorrelation Structure

ACSfunctions

Autocorrelation structure functions

actf

ACTF auto-correlation transformation function

actfdiscrete

ACTF auto-correlation transformation function for discrete distributio...

actfdiscreteInv

Inverse of ACTF auto-correlation transformation function

actfInv

Inverse of ACTF auto-correlation transformation function

acti

ACTI - autocorrelation transformation integral function

actpnts

AutoCorrelation Transformed Points

advectionF

Advection fields

advectionF2

Advection fields

advectionFhyperbolic

Hyperbolic advection field

advectionFradial

Radial advection field

advectionFrotation

Rotational advection field

advectionFspiral

Spiraling advection field

advectionFspiralCE

Spiraling advection field satisfying continuity equation

advectionFuniform

Uniform advection field

analyzeTS

The Functions analyzeTS, reportTS, and simulateTS

anisotropyT

Anisotropy transformation

anisotropyT2

Anisotropy transformation

anisotropyTaffine

Affine anisotropy transformation

anisotropyTswirl

Swirl anisotropy transformation

anisotropyTwave

Wave anisotropy transformation

AR1

Autoregressive model of first order

ARp

Autoregressive model of order p

BurrIII

Burr Type III distribution

BurrXII

Burr Type XII distribution

checkRF

Numerical and visual check of generated random fields

checkTS

Check generated timeseries

CoSMoS-package

CoSMoS: Complete Stochastic Modelling Solution

ECDF

Empirical cummulative distrubution function

erfc

Complementary (inverse) error function

error

Ratio mean square error

fitACS

Autocorrelation structure fit

fitactf

Fit the AutoCorrelation Transformation Function

fitDist

Distribution fitting

fitVAR

VAR model parameters to simulate correlated parent Gaussian random vec...

generateMTS

Simulation of multiple time series with given marginals and spatiotemp...

generateMTSFast

Faster simulation of multiple time series with approximately separable...

generateRF

Simulation of random field with given marginals and spatiotemporal pro...

generateRFFast

Faster simulation of random fields with approximately separable spatio...

generateTS

Generate timeseries

getACSArg

Get names of autocorrelation structure (ACS) function arguments

getDistArg

Get names of distribution function arguments

GEV

Generalized extreme value distribution

GGamma

Generalized gamma distribution

lmom

L-Moments calculation

moments

Numerical estimation of moments

N

Norm - function to be minimized during distrubution fit

ParetoII

Pareto type II distribution

plot.acti

AutoCorrelation Transformation Function visualisation

plot.checkTS

Plot method for check results

plot.cosmosts

Plot generated Timeseries

plot.fitACS

Plot method for fitACS

plot.fitDist

Plot method for fitDist

PopulationStat

Population statistics

quickTSPlot

Quick visualization of basic timeseries properties

regenerateTS

Bulk Timeseries generation

sample.moments

Estimation of sample moments

seasonalACF

Calculate seasonal ACF

seasonalAR

Seasonal AR model

stcfclayton

Clayton SpatioTemporal Correlation Structure

stcfgneiting14

Gneiting-14 SpatioTemporal Correlation Structure

stcfgneiting16

Gneiting-16 SpatioTemporal Correlation Structure

stcs

SpatioTemporal Correlation Structure

stcs2

SpatioTemporal Correlation Structure

stratifySeasonData

Stratify timeseries by season

YW

Yule-Walker solver

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, <doi:10.1016/j.advwatres.2018.02.013>), extended for random fields in Papalexiou and Serinaldi (2020, <doi:10.1029/2019WR026331>), and further advanced in Papalexiou et al. (2021, <doi:10.1029/2020WR029466>) to allow fine-scale space-time simulation of storms (or even cyclone-mimicking fields).