Section author: Rebecca Vederhus, Sebastian Jentschke
From SPSS to jamovi: Analysis of Covariance (ANCOVA)
This comparison shows how to conduct an analysis of covariance in SPSS and jamovi. The SPSS test follows the description in chapter 13.5.4 - 13.5.6 in Field (2017), especially figure 13.5 - 13.7 (excluding
Options) and outputs 13.6 - 13.11 (excludingBootstrap, as this is not [yet] an option in jamovi). It uses the data set Puppy Love.sav which can be downloaded from the web page accompanying the book.
SPSS |
jamovi |
|---|---|
In SPSS, you can run this test using: |
In jamovi you do this using: |
|
|
In SPSS, move |
In jamovi, move |
|
|
Then, open the dialog box called |
Open the |
|
|
Select |
Then, move |
|
|
When comparing the output from SPSS and jamovi, the results are the same. However, SPSS provides a lot more, rather unnecessary output than jamovi. These outputs are not included here. |
|
|
|
In SPSS, you can find the adjusted values of the group means in the
|
In jamovi, the adjusted values can be found in the table called |
jamovi does not include the values for the The numerical values for these analyses are the same: SS*<sub>Dose</sub> = 25.19, *p < .05; SS*<sub>Puppy_love</sub> = 15.08, *p < .05; M*<sub>Control</sub> = 2.93, *M*<sub>15mins</sub> = 4.71, *M*<sub>30mins</sub> = 5.15; contrast 1, *p = 0.045; contrast 2, p = 0.010. |
|
If you wish to replicate those analyses using syntax, you can use the commands below (in jamovi, just copy to code below to Rj). Alternatively, you can download the SPSS output files and the jamovi files with the analyses from below the syntax. |
|
UNIANOVA Happiness BY Dose WITH Puppy_love
/CONTRAST(Dose)=Simple(1)
/METHOD=SSTYPE(3)
/INTERCEPT=INCLUDE
/EMMEANS=TABLES(Dose) WITH(Puppy_love=MEAN) COMPARE ADJ(SIDAK)
/CRITERIA=ALPHA(0.05)
/DESIGN=Puppy_love Dose.
|
jmv::ancova(
formula = Happiness ~ Dose + Puppy_Love,
data = data,
contrasts = list(list(var = "Dose", type = "simple")),
emMeans = ~ Dose,
emmPlots = FALSE,
emmPlotError = "none",
emmTables = TRUE)
|











