pathanalysis | R Documentation |
Function to perform the simple path analysis and the path analysis under collinearity (sometimes called ridge path analysis). It computes the direct (diagonal) and indirect (off-diagonal) effects of each explanatory variable over a response one.
pathanalysis(corMatrix, resp.col, collinearity = FALSE)
corMatrix |
a correlation matrix. |
resp.col |
an integer value indicating the column in |
collinearity |
logical; if |
A list of
coef |
a matrix containing the direct (diagonal) and indirect (off-diagonal) effects of each variable. |
Rsq |
the coefficient of determination. |
ResidualEffect |
the residual effect. |
VIF |
a vector containing the variance inflation factors. |
CN |
the condition number. |
If collinearity = TRUE
, an interactive graphic is displayed for dealing with collinearity.
Anderson Rodrigo da Silva <anderson.agro@hotmail.com>
Carvalho, S.P. (1995) Metodos alternativos de estimacao de coeficientes de trilha e indices de selecao, sob multicolinearidade. Ph.D. Thesis, Federal University of Vicosa (UFV), Vicosa, MG, Brazil.
data(peppercorr)
pathanalysis(peppercorr, 6, collinearity = FALSE)
# End (not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.