Learn R Programming

propagate: Propagation of uncertainty using higher-order Taylor expansion and Monte Carlo simulation (R-package)

propagate is an R package that can conduct uncertainty propagation based on first- and second-order Taylor expansion as well as Monte Carlo simulation. It also houses functionality to estimate confidence and prediction intervals for nonlinear models, create large correlation matrices and automatic distribution fitting.

Installation

You can install the latest development version of the code using the devtools R package.

# Install devtools, if you haven't already.
install.packages("devtools")
library(devtools)
install_github("anspiess/propagate")
source("https://install-github.me/anspiess/propagate")

Copy Link

Version

Install

install.packages('propagate')

Monthly Downloads

688

Version

1.0-6

License

GPL (>= 2)

Last Published

May 6th, 2018

Functions in propagate (1.0-6)

numDerivs

Functions for creating Gradient and Hessian matrices by numerical differentiation (Richardson's method) of the partial derivatives
makeDat

Create a dataframe from the variables defined in an expression
matrixStats

Fast column- and row-wise versions of variance coded in C++
bigcor

Creating very large correlation/covariance matrices
cor2cov

Converting a correlation matrix into a covariance matrix
mixCov

Aggregating covariances matrices and/or error vectors into a single covariance matrix
WelchSatter

Welch-Satterthwaite approximation to the 'effective degrees of freedom'
fitDistr

Fitting distributions to observations/Monte Carlo simulations
datasets

Datasets from the GUM "Guide to the expression of uncertainties in measurement" (2008)
makeDerivs

Utility functions for creating Gradient- and Hessian-like matrices with symbolic derivatives and evaluating them in an environment
interval

Uncertainty propagation based on interval arithmetics
rDistr

Creating random samples from a variety of useful distributions
moments

Skewness and (excess) Kurtosis of a vector of values
statVec

Transform an input vector into one with defined mean and standard deviation
summary.propagate

Summary function for 'propagate' objects
plot.propagate

Plotting function for 'propagate' objects
propagate

Propagation of uncertainty using higher-order Taylor expansion and Monte Carlo simulation
stochContr

Stochastic contribution analysis of Monte Carlo simulation-derived propagated uncertainty
predictNLS

Confidence/prediction intervals for (weighted) nonlinear models based on uncertainty propagation