This is the primary function for ensemble regression. It will take ensemble values in time and/or values in the predictor (X), and regress them on ensemble values in time and/or values in Y (the predictand). The function will then apply the ensemble linear model to the full length of X to create a modeled Y. Will also optionally create plots.
regressEns(
time.x,
values.x,
time.y,
values.y,
bin.vec = NA,
bin.step = NA,
bin.fun = mean,
max.ens = NA,
percentiles = c(0.025, 0.25, 0.5, 0.75, 0.975),
recon.bin.vec = NA,
min.obs = 10,
gaussianize = TRUE
)
matrix of age/time ensembles, or single column
matrix of values ensembles, or single column
matrix of age/time ensembles, or single column
matrix of values ensembles, or single column
vector of bin edges for binning step
spacing of bins, used to build bin step
function to use during binning (mean, sd, and sum all work)
maximum number of ensemble members to regress
quantiles to calculate for regression parameters
bin vector to use for the modeled regression.
minimum number of points required to calculate regression
Boolean flag indicating whether the values should be mapped to a standard Gaussian prior to analysis.
list of ensemble output
Other regress:
plotRegressEns()
,
plotScatterEns()
,
plotTrendLinesEns()
,
regress()