Find the appropriate position for freely estimated correlation (or covariance) given a regression coefficient matrix
Find the appropriate position for freely estimated correlation (or covariance) given a regression coefficient matrix. The appropriate position is the pair of variables that are not causally related.
findPossibleFactorCor(beta)
beta |
The regression coefficient in path analysis. |
The symmetric matrix containing the appropriate position for freely estimated correlation.
Sunthud Pornprasertmanit (psunthud@gmail.com)
findRecursiveSet
to group variables regarding the position in mediation chain.
path <- matrix(0, 9, 9) path[4, 1] <- path[7, 4] <- NA path[5, 2] <- path[8, 5] <- NA path[6, 3] <- path[9, 6] <- NA path[5, 1] <- path[8, 4] <- NA path[6, 2] <- path[9, 5] <- NA findPossibleFactorCor(path)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.