| lambda.to.gamma {GOFSN} | R Documentation |
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.
lambda.to.gamma(lambda)
lambda |
A numeric vector of simulated values of lambda. |
gamma |
A numeric vector of the corresponding gamma values. |
Veronica Paton Romero, Universidad Rey Juan Carlos, Spain v.paton@alumnos.urjc.es
Cabras and Castellanos (2008) Default Bayesian goodness-of-fit tests for the skew-normal model.
data(prior.lambda) lambdas=sample(prior.lambda,10000) gammas=lambda.to.gamma(lambdas)