# semdiag.mdist.f: Caculate the M-distance for factors and residuals In semdiag: Structural equation modeling diagnostics

## Description

Function to calculate M-distance for factors and residuals

## Usage

 ``` 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15``` ```semdiag.mdist.f(x, mu, lisrel) semdiag.mdist.f1(x, mu, lisrel) semdiag.mdist.f.r(x, mu, lisrel) semdiag.mdist.f1.r(x, mu, lisrel) semdiag.mdist.r(x, mu, lisrel) semdiag.mdist.r1(x, mu, lisrel) semdiag.mdist.r.r(x, mu, lisrel) semdiag.mdist.r1.r(x, mu, lisrel) ```

## Arguments

 `x` Data `mu` Mean `lisrel` Lisrel notation matrices

## Value

`semdiag.mdist.f`: M-distance for factors based on Bartlett-factor score using EQS

`semdiag.mdist.f1`: M-distance for factors based on Bartlett-factor score based on all latent factors (regarding D as factors) using EQS

`semdiag.mdist.f.r`: M-distance for factors based on Bartlett-factor score using R `sem` package

`semdiag.mdist.f1.r`: M-distance for factors based on Bartlett-factor score based on all latent factors (regarding D as factors) using R `sem` package

`semdiag.mdist.r`: M-distance for residuals using EQS

`semdiag.mdist.r1`: M-distance for residuals based on all latent factors (regarding D as factors) using EQS

`semdiag.mdist.r.r`: M-distance for residuals using R `sem` package

`semdiag.mdist.r1.r`: M-distance for residuals based on all latent factors (regarding D as factors) using R `sem` package

semdiag documentation built on May 31, 2017, 2:14 a.m.