Learn R Programming

timedeppar (version 1.0.3)

Infer Constant and Stochastic, Time-Dependent Model Parameters

Description

Infer constant and stochastic, time-dependent parameters to consider intrinsic stochasticity of a dynamic model and/or to analyze model structure modifications that could reduce model deficits. The concept is based on inferring time-dependent parameters as stochastic processes in the form of Ornstein-Uhlenbeck processes jointly with inferring constant model parameters and parameters of the Ornstein-Uhlenbeck processes. The package also contains functions to sample from and calculate densities of Ornstein-Uhlenbeck processes. References: Tomassini, L., Reichert, P., Kuensch, H.-R. Buser, C., Knutti, R. and Borsuk, M.E. (2009), A smoothing algorithm for estimating stochastic, continuous-time model parameters and its application to a simple climate model, Journal of the Royal Statistical Society: Series C (Applied Statistics) 58, 679-704, Reichert, P., and Mieleitner, J. (2009), Analyzing input and structural uncertainty of nonlinear dynamic models with stochastic, time-dependent parameters. Water Resources Research, 45, W10402, Reichert, P., Ammann, L. and Fenicia, F. (2021), Potential and challenges of investigating intrinsic uncertainty of hydrological models with time-dependent, stochastic parameters. Water Resources Research 57(8), e2020WR028311, Reichert, P. (2022), timedeppar: An R package for inferring stochastic, time-dependent model parameters, in preparation.

Copy Link

Version

Install

install.packages('timedeppar')

Monthly Downloads

154

Version

1.0.3

License

GPL-3

Maintainer

Peter Reichert

Last Published

August 28th, 2023

Functions in timedeppar (1.0.3)

readres.timedeppar

Reads an object of type timedeppar saved to a file by infer.timedeppar
get.parsamp

Get a sample of lists of constant and time-dependent parameters from inference results of infer.timedeppar
get.label

Construct a plot label from expressions for variables and units
randsplit

Draw indices for a random split of a vector into intervals of the same mean length
get.param

Extract parameter list and process parameter vectors from an object of type timedeppar
calc.acceptfreq

Calculate apparent acceptance frequency of time-dependent parameter
calc.logpdf

Calculate log pdf values (prior, internal, posterior) from an object of type timedeppar
infer.timedeppar

Jointly infer constant and time-dependent parameters of a dynamic model given time-series data
logpdfOU

Calculate log pdf of an Ornstein-Uhlenbeck process
plot.timedeppar

Plot results of time-dependent parameter estimation
randOU

Draw from an Ornstein-Uhlenbeck process