Learn R Programming

DESP (version 0.2-2)

DESP_SqPartCorr: Squared partial correlations computation

Description

This function calculates the squared partial correlations. We keep only the elements upper than a threshold. For example, if thresh=0.01, therefore SPC[i,j] equal 0 means that the proportion of the variance of the variable i not explained by the other variables, which is explained by the variable j is less than 1

Usage

DESP_SqPartCorr(B, n)

Arguments

B
The coefficient matrix.
n
The sample size.

Value

The matrix of squared partial correlations.