indexTransform: Transform ranking index distribution.

Description Usage Arguments Details Value Author(s) See Also Examples

Description

The function performs a transformation of the ranking index so that its distribution is suitable as independent variable of the logistic regression model.

Usage

1
indexTransform(index, method = "normalize")

Arguments

index

a ranking index; a numeric vector, matrix or data.frame.

method

transformation method. See details.

Details

Works for vector, matrices and data.frames. In the case of matrices the function transforms each column separately from the other ones.

Two methods are currently implemented:

- normalize:

transforms the index into quantiles of a normal distribution.

- standardize:

performs an statistical standardization by subtracting the mean and dividing by the standard deviation.

Value

A transformed index. Its class will be that of the the input object.

Author(s)

David Montaner dmontaner@cipf.es

See Also

transferIndex, uvGsa, mdPat

Examples

1
2
3
myIndex <- runif (1000)
myTransformedIndex <- indexTransform (myIndex)
plot (myIndex, myTransformedIndex)

mdgsa documentation built on Nov. 8, 2020, 5:05 p.m.