Results

Independent Samples T-Test

The main output for this example is below, and we can obtain the effect size as Cohen's d =−1.628 [−2.651,−0.571]. As well as being statistically significant, this effect is very large and so represents a substantive finding. Note that I report the results of the Welch version of the t-test, as I recommended in the book, to have more robustness against possible unequal variances.

Independent Samples T-Test
95% CI for Mean Difference 95% CI for Cohen's d
t df p Mean Difference SE Difference Lower Upper Cohen's d SE Cohen's d Lower Upper
life_satisfaction -3.688 17.843 0.002 -21.958 5.954 -34.475 -9.441 -1.628 0.565 -2.651 -0.571
Note.  Welch's t-test.

Descriptives

Group Descriptives
  Group N Mean SD SE Coefficient of variation
life_satisfaction Fish 12 38.167 15.509 4.477 0.406
  Cat 8 60.125 11.103 3.925 0.185

On average, the life satisfaction of cat owners (M = 60.13, SE = 3.93) was significantly higher than that people who had fish as pets (M = 38.17, SE = 4.48), t(17.84) = −3.688, p = 0.002,  Cohen's d =−1.628 [−2.651,−0.571].

Linear Regression

The output from the linear model is below. Compare this output with the one from the previous task (above) the values of t and p are almost the same. If we would have used the Student t-test, the results would be identical (Technically, t is different because for the linear model it is a positive value and for the t -test it is negative However, the sign of t merely reflects which way around you coded the fish and cat groups. The linear model, by default, has coded the groups the opposite way around to the t-test.) The main point I wanted to make here is that whether you run these data through the regression or t-test menus, the results are identical (if you give up the robustness to unequal variances, which does not exist in normal regression).

Model Summary - life_satisfaction
Model R Adjusted R² RMSE
M₀ 0.000 0.000 0.000 17.506
M₁ 0.630 0.397 0.364 13.961
Note.  M₁ includes pet
ANOVA
Model   Sum of Squares df Mean Square F p
M₁ Regression 2314.408 1 2314.408 11.874 0.003
  Residual 3508.542 18 194.919  
  Total 5822.950 19  
Note.  M₁ includes pet
Note.  The intercept model is omitted, as no meaningful information can be shown.
Coefficients
Model   Unstandardized Standard Error Standardizedᵃ t p
M₀ (Intercept) 46.950 3.915 11.994 < .001
M₁ (Intercept) 38.167 4.030 9.470 < .001
  pet (Cat) 21.958 6.372 3.446 0.003
ᵃ Standardized coefficients can only be computed for continuous predictors.