LambertW (version 0.6.9-1)

get_output: Transform input X to output Y

Description

get_output transforms the input \(\boldsymbol x\) to the observed data \(\boldsymbol y\) given the transformation vector \(\tau = (\mu_x(\boldsymbol \beta), \sigma_x(\boldsymbol \beta), \gamma, \alpha, \delta)\).

This is the inverse of get_input.

Usage

get_output(x, tau, return.z = FALSE)

Value

A numeric object of same size/dimension as input x.

If return.z = TRUE, then it returns a list with 2 vectors

z

shifted and scaled input \(\boldsymbol z\),

y

transformed output data \(\boldsymbol y\), which has a Lambert W \(\times\) F distribution.

Arguments

x

a numeric vector of data values.

tau

named vector \(\tau\) which defines the variable transformation. Must have at least 'mu_x' and 'sigma_x' element; see complete_tau for details.

return.z

should the shifted and scaled output also be returned? Default: FALSE.

See Also

get_input; Gaussianize with argument inverse = TRUE.