## Gallery of Example Models!

This gallery will hold example models as we build them. To learn about installing umx, or take a basic tutorial, start at the [home page](https://tbates.github.io).

*note*: This page expresses the goal for umx’s coverage of core copy-and-paste model templates. Goal deadline to have it completed by end 2021.

### Basic path-based models in `umx`

- umxPath
`umxPath`

to make Cholesky paths

### Exploratory and Confirmatory Factor Analysis (CFA)

- ✓ Factor analysis with
`umxFactanal`

- ✓ Factor scores with
`umxFactanal`

- ✓ CFA with one or more factors with
`umxRAM`

- ✓ CFA with ordinal data (automatic in
`umxRAM`

) - ✓ Joint ordinal/continuous CFA (automatic in
`umxRAM`

)

### SEM, indirect effects, mediation analysis

- Regression with structural equation models
- Ordinal regression
- Mediation
- Moderation

### Measurement models and Psychometrics

- Measurement invariance

### Multiple groups

### Growth and change

### Modeling different types of Data correctly

- ✓ Raw data: supported in
`umxRAM`

and all twin Models - ✓ Weighted least squares: supported in
`umxRAM`

and all twin Models - ✓ Polychoric correlations:
`umx_polychoric`

and`umxHetCor`

- ✓ Continuous variables: supported in
`umxRAM`

and all twin Models - ✓ Ordinal variables: supported in
`umxRAM`

and all twin Models - ✓ Joint ordinal & continuous variables: supported in
`umxRAM`

and all twin Models

### Modeling predictors, effects, definition variables, weights, missingness correctly

- Extracting means, covariances, and thresholds
- Definition variables
- ✓ Sample weights: handled in
`umxACE`

and other twin models - Censoring

### How do I simulate data, or do a power analysis?

### Wrangling data: scaling, renaming, residualizing etc.

- ✓ Scaling Data with
`umxScale`

- ✓ Renaming Data:
`umx_rename`

- ✓ Residualizing Data with
`umx_residualise`

, including twin data. - ✓ Wide 2 long and long 2 wide with
`umx_long2wide`

and`umx_wide2long`

### Twin Models

- ACE / ADE
- ✓
`umxACEv`

- ✓ Common pathway
`umxCP`

- ✓ Independent pathway
`umxIP`

- ✓ Sex limitation inc. multivariate with
`umxSexlim`

- ✓ GxE interaction with
`umxGxE`

,`umxGxEbiv`

, and`umxGxEwindow`

- ✓ Simplex:
`umxSimplex`

- ✓ Direction of causation:
`umxDoc`

### Optimizers

- ✓ Full Information Maximum Likelihood
- ✓ Weighted least squares

### Parameter estimates and fit statistics

- Goodness-of-fit
- ✓ Using
`mxSE`

to get standard errors of functions of free parameters - ✓ Using
`umxCI`

for profile likelihood confidence intervals - Factor Scores
- Modification indices with umxMI
- Bootstrap Likelihood ratio tests

### How do I add covariates, different intervals for growth…

- Age

### How to pick starting values

- ✓ Let
`umx`

do it - Use
`mxAutoStart`