Design Matrix for Path Analyses

Share:

Description

Forms design matrix for path analyses that involve paths within residual blocks

Usage

1
path(cause=NULL, effect=NULL, k)

Arguments

cause

integer; index of predictor ‘trait’ within residual block

effect

integer; index of response ‘trait’ within residual block

k

integer; dimension of residual block

Value

design matrix

Note

For more general path anlaytic models see sir which allows paths to exist between responses that are not in the same residual block. However, sir does not handle non-Gaussian or missing responses. Note that path models involving non-Gaussian data are defined on the link scale which may not always be appropriate.

Author(s)

Jarrod Hadfield j.hadfield@ed.ac.uk

See Also

sir

Examples

1
path(1, 2,2)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.