get_output: Transform input X to output Y

View source: R/get_output.R

get_outputR Documentation

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)

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.

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.

See Also

get_input; Gaussianize with argument inverse = TRUE.


LambertW documentation built on Nov. 2, 2023, 6:17 p.m.