independent t test Flashcards

1
Q

T-test

A

t-tests are a type of inferential statistic used to compare groups of data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

when might we use an independent T-test

A
  • Who can run faster football players or rugby players?
  • Is there a significant difference in health between patients who took Drug A compared with patients who took Drug B?
  • Which YouTube channels get the most views (in time duration) gaming channels or vlogging channels?
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Features of the data for an Independent T-test

A

One independent variable with two independent groups

One dependent variable measured using continuous and normally distributed data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

continuous data

A

measured data, can have infinite values within possible range.
e.g. i weigh 57.7kg

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

discrete data

A

observations can only exist at limited values, often counts.

e.g. i have 2 legs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is an Independent T-test

A

An independent-samples t-test (independent t-test for short) is used to establish whether two means collected from independent samples differ significantly.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Inferential statistics

A

● Descriptive statistics e.g., measures of central tendency (i.e., mean, mode, median) and measures of spread (i.e., range, variance, standard deviation) give us information about our immediate group of data (sample)
● Inferential statistics allows us to use the sample we have collected to make generalisation about the population that sample represents. Inferential statistics involves:
1. Estimation of parameters
2. Testing of statistical hypotheses

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Null hypothesis testing

A

● Null hypothesis: a statement that often suggests no difference/relationship e.g., “There is no relationship between the number of hours spent gaming and happiness”
● Inferential statistics (e.g., correlations, regressions, t-tests etc) give the probability of observing your sample results (or more extreme) given that the null hypothesis is true.
● This is often expressed as a p-value

● The null hypothesis for the independent t-test is that the population means from the two unrelated groups are equal:
H0: u1 = u2
● In most cases, we are looking to see if we can show that we can reject the null hypothesis and accept the alternative hypothesis, which is that the population means are not equal:
HA: u1 ≠ u2
● To do this, we need to set a significance level (also called alpha) that allows us to either reject or accept the alternative hypothesis. Most commonly, this value is set at 0.05

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The role of variance

A

An independent t-test accounts for both:
The difference between groups
AND
The variance within groups

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

r studio

A

t_test(dataset ~ dataset, data = data)
/
T_test(dataset, dataset, data = data)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly