# Which Statistical Test?

By Data Tricks, 3 February 2019

Please note this is a Beta version and is still under development. It is not designed to give a definitive answer but is aimed at helping you choose which statistical test might be appropriate for your analysis.

## What are you assessing?

### Differences between samples

I have split my data into groups and want to compare those groups

### Relationships between variables

I am looking for links between variables

## How many samples do you have?

### One sample

I have a single sample and I want to see if the average is different from a fixed value

### Two samples

I have two samples and want to see the differences between them

### Multiple samples

I have more than 2 samples and want to see the differences between them (note if your independent variable has more than 2 levels then you effecitvely have >2 samples)

### Yes

My samples are paired

### No

My samples are not paired

### Yes

My samples are matched

### No

My samples are not matched

## Do you have dependent and independent variables?

### Yes

There are clearly defined dependent and independent variables

### No

The variables are interdependent

## What's the measurement scale of the variable you want to test?

### Interval

Your scale has an order and known differences between the values, eg. cm to measure distance, or height

### Ordinal

Your scale has an order but different distances between values, eg. a rank order

### Nominal

Your measure has no quantitative value, eg. gender

## What's the measurement scale of your variables?

### All are interval

All variables are on an interval scale

### Interval and/or ordinal

I have interval and/or ordinal variables but no nominal variables

### All are nominal

All my variables are nominal

## What's the measurement scale of your dependent variable?

### Interval

Your scale has an order and known differences between the values, eg. cm to measure distance, or height

### Ordinal

Your scale has an order but different distances between values, eg. a rank order

### Nominal

Your measure has no quantitative value, eg. gender

## What's the measurement scale of your independent variable?

### Interval

Your scale has an order and known differences between the values, eg. cm to measure distance, or height

### Ordinal

Your scale has an order but different distances between values, eg. a rank order

### Nominal

Your measure has no quantitative value, eg. gender

## How many categories does your nominal dependent variable have?

### More than two

Please note that your first comment on this site will be moderated, after which you will be able to comment freely.

### You might also like

Notice: WP_Query was called with an argument that is deprecated since version 3.1.0! caller_get_posts is deprecated. Use ignore_sticky_posts instead. in /homepages/0/d693819546/htdocs/app693819993/wp-includes/functions.php on line 4782

## What is data science?

Is data science simply statistics rebranded? How old is data science? And why is it experiencing a rapid rise now?

## Leaflet maps in R

Create interactive location maps in R and embed onto websites or other applications.

## Proving the Innocence of Phileas Fogg

Using Bayes’ Theorem to prove the innocence of Phileas Fogg