gamma_01: Input parameters to get a zero mean, unit variance output for...

View source: R/gamma_01.R

gamma_01R Documentation

Input parameters to get a zero mean, unit variance output for a given gamma


Computes the input mean μ_x(γ) and standard deviation σ_x(γ) for input X \sim F(x \mid \boldsymbol β) such that the resulting skewed Lambert W x F RV Y with γ has zero-mean and unit-variance. So far works only for Gaussian input and scalar γ.

The function works for any output mean and standard deviation, but μ_y = 0 and σ_y = 1 are set as default as they are the most useful, e.g., to generate a standardized Lambert W white noise sequence.


gamma_01(gamma, mu.y = 0, sigma.y = 1, distname = "normal")



skewness parameter


output mean; default: 0.


output standard deviation; default: 1.


string; name of distribution. Currently only supports "normal".


A 5-dimensional vector (μ_x(γ), σ_x(γ), γ, 0, 1), where δ = 0 and α = 1 are set for the sake of compatiblity with other functions.


gamma_01(0) # for gamma = 0, input == output, therefore (0,1,0,0,1)
# input mean must be slightly negative to get a zero-mean output
gamma_01(0.1) # gamma = 0.1 means it is positively skewed

LambertW documentation built on Sept. 22, 2022, 5:07 p.m.