SPSS DO REPEAT – Simple Tutorial & Examples

DO REPEAT is a command for running other commands repetitively.SPSS DO REPEAT is often used for looping over (possibly new) variables. VECTOR with LOOP is an alternative way for doing so. Introduction Suppose we have a variable containing values 1 through 4 and we’d like to dichotomize it for a regression analysis. (For some more background, see Creating Dummy Variables in SPSS.) […]

SPSS Two-Way ANOVA with Interaction Tutorial

Do you think running a two-way ANOVA with an interaction effect is challenging? Then this is the tutorial for you. We’ll run the analysis by following a simple flowchart and we’ll explain each step in simple language. After reading it, you’ll know what to do and you’ll understand why. We’ll use depression.sav throughout. The screenshot below shows it in variable […]

SPSS RANK Command

Summary SPSS RANK can be used to create a variable holding the rank numbers of the values of some other variable. RANK is also used for discretizing continuous variables into ntile groups. This tutorial walks you through the main options along with some real world examples. Result of first RANK syntax example 1. SPSS Rank Basic Example Running the syntax below first creates […]

SPSS Repeated Measures ANOVA – Example 2

A car brand had 18 respondents rate 3 different car ads on attractiveness. The resulting data -part of which are shown above- are in adratings.sav. Some background variables were measured as well, including the respondent’s gender. The question we’ll try to answer is:are the 3 ads rated equally attractive and does gender play any role here?Since […]

SPSS Repeated Measures ANOVA Tutorial

What is Repeated Measures ANOVA? Repeated Measures ANOVA Assumptions Quick Data Check Running Repeated Measures ANOVA in SPSS Interpreting the Output Reporting Repeated Measures ANOVA 1. What is Repeated Measures ANOVA? SPSS repeated measures ANOVA tests if the means of 3 or more metric variables are all equal in some population. If this is true and we inspect a sample from our […]

Repeated Measures ANOVA – Simple Introduction

Null Hypothesis Assumptions Example Repeated Measures ANOVA – Basic Formulas Post Hoc Tests Null Hypothesis The null hypothesis for a repeated measures ANOVA is that3(+) metric variables have identical means in some population. The variables are measured on the same subjects so we’re looking for within-subjects effects(differences among means). This basic idea is also referred to as dependent, […]

SPSS Friedman Test – Simple Example

For testing if 3 or more variables have identical population means, our first option is a repeated measures ANOVA. This requires our data to meet some assumptions -like normally distributed variables. If such assumptions aren’t met, then our second option is the Friedman test: a nonparametric alternative for a repeated-measures ANOVA. Strictly, the Friedman test can […]

SPSS One-Way ANOVA with Post Hoc Tests Tutorial

A hospital wants to know how a homeopathic medicine for depression performs in comparison to alternatives. They administered 4 treatments to 100 patients for 2 weeks and then measured their depression levels. The data, part of which are shown above, are in depression.sav. Data Inspection – Split Histogram Before running any statistical tests, let’s first just […]

SPSS One-Way ANOVA Tutorial

SPSS One-Way ANOVA tests if the means on a metric variable for three or more populations are all equal. * The populations are identified in the sample by a categorical variable. For a very simple explanation of the basic idea, see ANOVA – What Is It?. SPSS One-Way ANOVA Example A farmer wants to know if the weight of parsley plants is […]

SPSS Two Way ANOVA – Basics Tutorial

Research Question How to lose weight effectively? Do diets really work and what about exercise? In order to find out, 180 participants were assigned to one of 3 diets and one of 3 exercise levels. After two months, participants were asked how many kilos they had lost. These data -partly shown above- are in weightloss.sav. We’re […]

How to Get (Partial) Eta Squared from SPSS?

In ANOVA, we always report the F-value, degrees of freedom (df) and p for each effect -possibly just one for one-way ANOVA. P (“Sig.” in SPSS) tells us the likelihood of some effect being zero in our population. However, it doesn’t tell us how strong some effect is if it is not zero; we can’t conclude that p = 0.05 indicates a […]