The parameter \(\boldsymbol \beta\) specifies the input distribution
\(X \sim F_X(x \mid \boldsymbol \beta)\).
beta2tau
converts \(\boldsymbol \beta\) to the transformation vector
\(\tau = (\mu_x, \sigma_x, \gamma = 0, \alpha = 1, \delta = 0)\), which
defines the Lambert W\(\times\) F random variable mapping from \(X\)
to \(Y\) (see tau-utils
). Parameters \(\mu_x\) and
\(\sigma_x\) of \(X\) in general depend on \(\boldsymbol \beta\)
(and may not even exist for use.mean.variance = TRUE
; in this case
beta2tau
will throw an error).
check_beta
checks if \(\boldsymbol \beta\) defines a
valid distribution, e.g., for normal distribution 'sigma'
must be
positive.
estimate_beta
estimates \(\boldsymbol \beta\) for a given
\(F_X\) using MLE or methods of moments. Closed form solutions
are used if they exist; otherwise the MLE is obtained numerically using
fitdistr
.
get_beta_names
returns (typical) names for each component of
\(\boldsymbol \beta\).
Depending on the distribution
\(\boldsymbol \beta\) has different length and names: e.g.,
for a "normal"
distribution beta
is of length
\(2\) ("mu"
, "sigma"
); for an "exp"
onential
distribution beta
is a scalar (rate "lambda"
).