Learn R Programming

pttstability (version 1.4)

Particle-Takens Stability

Description

Includes a collection of functions presented in "Measuring stability in ecological systems without static equilibria" by Clark et al. (2022) in Ecosphere. These can be used to estimate the parameters of a stochastic state space model (i.e. a model where a time series is observed with error). The goal of this package is to estimate the variability around a deterministic process, both in terms of observation error - i.e. variability due to imperfect observations that does not influence system state - and in terms of process noise - i.e. stochastic variation in the actual state of the process. Unlike classical methods for estimating variability, this package does not necessarily assume that the deterministic state is fixed (i.e. a fixed-point equilibrium), meaning that variability around a dynamic trajectory can be estimated (e.g. stochastic fluctuations during predator-prey dynamics).

Copy Link

Version

Install

install.packages('pttstability')

Monthly Downloads

149

Version

1.4

License

GPL-3

Maintainer

Adam Clark

Last Published

January 9th, 2024

Functions in pttstability (1.4)

logit

Logit
inv_fun0

Default inverse transormation function
likelihood0

Default likelihood function
makeblock

Make an embedding block from timeseries data
particleFilterLL

particle filter
obsfun0

default observation noise function
makedynamics_general

Simulate general time series
dat

Microcosm experimental data
sdproc_abstract

calculate estimated total variance
sampler_fun0

Default sampler function for prior
particleFilterLL_piecewise

run particle filter across piecewise data
procfun_ct

continuous-time process noise function
pttstability

pttstability: Methods for Measuring Stability in Systems Without Static Equilibria
parseparam0

Parse parameters
indexsort

Sort output of particle filter
process_scof

Process S-mapping coefficients
logitnormal_imode

Get inverse logit-normal mode
procfun0

default process noise function
lognormal_imode

Get inverse log-normal mode
EDMfun0

EDM deterministic function
S_map_Sugihara1994

Apply S-mapping algorithm from Sugihara 1994
colfun0

default colonization function
ilogit

Inverse logit
density_fun0

Default density function for prior
detfun0

default deterministic function
detfun0_sin

deterministic function with time-varying carrying capacity
getcm

Get rates
likelihood_EDM_piecewise

calculate likelihood for piecewise data