# Tag: statistics

### Exporting data from SPSS to Mplus – a simple step-by-step guide

## Exporting data from SPSS (23) to Mplus (7.3) – a simple step-by-step guide

Exporting data from SPSS to Mplus is theoretically a simple process, but can still be a little more complicated than it should be. Various instructions exist all over the Web, but many of them forgo a couple of details that may not be obvious to novices. Here’s my reasonably fool-proof step-by-step guide.

### Worksheet for examining mediator effects

Mediating/intervening variable effects can be examined and demonstrated in a variety of ways in psychological research. One approach is the so-called difference in coefficients method, where the significance of the difference between the direct path from X to Y with no mediated path via M and the direct path from X to Y when a mediated path (X->M->Y) exists is tested. The attached simple Excel worksheet provides an easy way to do this using the Freedman-Schatzkin approach to estimating the standard error of the difference. The sources used are detailed in the worksheet.

As mentioned, there are many other ways to examine mediator effects, so only use this if you know what you’re doing. This method appears to be superior to, e.g., the old Baron & Kenny steps approach, but personally, I’d recommend boostrapping for most uses.

Difference in coefficients t-test for mediating variable effect