varExp
varExp is the name given to an exponential variance function commonly used in statistical modeling to describe heteroscedasticity (non-constant variance). It is most widely known from the nlme package in the R programming environment, where it is implemented as a varFunc-type object and can be supplied to generalized least squares (gls) and linear mixed-effects (lme) models through the weights argument.
The varExp formulation models the variance of residuals as a positive exponential function of a covariate
Typical usage in R looks like weights = varExp(form = ~ covariate) or weights = varExp(form = ~ fitted(.)), which instructs the
varExp is related to other variance functions such as varPower (power-of-mean) and varIdent (heterogeneous variances by