pathanalysis {biotools} | R Documentation |

## Path Analysis, Simple and Under Collinearity

### Description

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.

### Usage

```
pathanalysis(corMatrix, resp.col, collinearity = FALSE)
```

### Arguments

`corMatrix` |
a correlation matrix. |

`resp.col` |
an integer value indicating the column in |

`collinearity` |
logical; if |

### Value

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. |

### Side Effects

If `collinearity = TRUE`

, an interactive graphic is displayed for dealing with collinearity.

### Author(s)

Anderson Rodrigo da Silva <anderson.agro@hotmail.com>

### References

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.

### Examples

```
data(peppercorr)
pathanalysis(peppercorr, 6, collinearity = FALSE)
# End (not run)
```

*biotools*version 4.2 Index]