generateEnsembleFromUncertainty: Create an ensemble from an uncertainty and AR1 estimate

View source: R/helper.R

generateEnsembleFromUncertaintyR Documentation

Create an ensemble from an uncertainty and AR1 estimate

Description

Create an ensemble from an uncertainty and AR1 estimate

Usage

generateEnsembleFromUncertainty(
  variable,
  n.ens,
  sd,
  ar = sqrt(0.5),
  arima.order = c(1, 0, 0)
)

Arguments

variable

LiPD variable object or vector of data

n.ens

Number of ensemble members to create (default = 1000)

sd

Standard deviation of the uncertainty to simulate

ar

Autocorrelation coefficient to use for modelling uncertainty, what fraction of the uncertainties are autocorrelated? (default = sqrt(0.5); or 50 percent autocorrelated uncertainty)

arima.order

Order to use for ARIMA model used in modelling uncertainty (default = c(1,0,0))

Value

a matrix of ensemble values

See Also

Other utility: askUser(), concatEnsembleTimeseries(), convertAD2BP(), convertBP2AD(), createChronMeasInputDf(), gaussianize(), getLastVarString(), getOs(), heuristicUnits(), loadRemote(), pullInstance(), simulateAutoCorrelatedUncertainty(), stringifyVariables(), surrogateDataFun()


nickmckay/GeoChronR documentation built on July 4, 2025, 12:01 a.m.