lambda.to.gamma {GOFSN}R Documentation

Converts lambda values to gamma values

Description

For a given value of lambda, parameter of skewness in direct parametrization, the function finds the corresponding value of gamma. This function is necessary for other functions as SimulD and SimulW2.

Usage

 lambda.to.gamma(lambda) 

Arguments

lambda A numeric vector of simulated values of lambda.

Value

gamma A numeric vector of the corresponding gamma values.

Author(s)

Veronica Paton Romero, Universidad Rey Juan Carlos, Spain v.paton@alumnos.urjc.es

References

Cabras and Castellanos (2008) Default Bayesian goodness-of-fit tests for the skew-normal model.

See Also

SimulD, SimulW2

Examples

data(prior.lambda)
lambdas=sample(prior.lambda,10000)
gammas=lambda.to.gamma(lambdas)

[Package GOFSN version 1.0 Index]