Sigma_calculation {modgo}R Documentation

Calculate Sigma with the help of polychoric and polyserial functions

Description

This function is used internally by modgo. It conducts the computation of the correlation matrix of the transformed variables, which are assumed to follow a multivariate normal distribution.

Usage

Sigma_calculation(data, variables, bin_variables, categ_variables, ties_method)

Arguments

data

a data frame with original variables.

variables

variables a character vector indicating which columns of data should be used.

bin_variables

a character vector listing the binary variables.

categ_variables

a character vector listing the ordinal categorical variables.

ties_method

Method on how to deal with equal values during rank transformation. Acceptable input:"max","average","min". This parameter is passed by rbi_normal_transform to the parameter ties.method of rank.

Value

A numeric matrix with correlation values.

Author(s)

Francisco M. Ojeda, George Koliopanos


[Package modgo version 1.0.1 Index]