Week 5: Comparing Means: Independent and Paired T-test Flashcards
What are the 3 types of t-tests? - (3)
- One-samples t-test
- Paired t-test
- Independent t-test
What is the decision framework for choosing a paired-sample (dependent) t-test? - (5)
- What sort of measurement = continous
- How many predictor variables = one
- What type of predictor variables = categorical
- How many levels of categorical predictor = two
- Same or different participants for each predictor level = same
What is the decision framework for choosing independent-t-test? (5)
- What sort of measurement = continous
- How many predictor variables = one
- What type of predictor variables = categorical
- How many levels of categorical predictor = two
- Same or different participants for each predictor level = different
Whats a one-sample t-test?
Compares the mean of the sample data to a known value
What is the assumptions of one-sample t-test? - (4)
- DV = Continous (interval or ratio)
- Independent scores (no relation between scores on test variable)
- Normal distribution via frequency histogram (normal shape) and Q-plot (straight line) and non significant Shaprio Wilk
- Homogenity of variances
Example of one-sample t-test RQ - (2)
Is the average IQ of Psychology students higher than that of the general population (100)?
A particular factory’s machines are supposed to fill bottles with 150 millilitres of product. A plant manager wants to test a random sample of bottles to ensure that the machines are not under- or over-filling the bottles.
What is the assumptions of independent samples t-tests (listing all of them) - (7)
- Independence. – no relationship between the groups
- Normal distribution via frequency histogram (normal shape) and Q-plot (straight line) and non significant Shaprio Wilk
- Equal variances
- Homogeneity of variances (i.e., variances approximately equal across groups) via non significant Levene’s test
- DV = Interval or continuous
- IV = Categorical
- No significant outliers
What is an RQ example of independent samples t-tesT?
Do dog owners in the country spend more time walking their
dogs than dog owners in the city?
What is the assumptions of paired t-test? (listing all) - 3
DV is continuous
Related samples: The subjects in each sample, or group, are the same. This means that the subjects in the first group are also in the second group
Normal distribution via frequency histogram (normal shape) and Q-plot (straight line) and non significant Shaprio Wilk
What is an example of RQ of paired t-test?
Do cats learn more tricks when given food or praise as positive feedback?
If we are comparing differences between means of two groups in independent/paired t-test then all we are doing is
predicting an outcome based on membership of two groups
Indepdnent and paired t-tests can fit into an ideal of a
linear model
What is coding with dummy variables and an example?
E.g., coding absence of cloak in terms of numbers (like 0) and pps with clock as 1 even though it is a categorical variable
Independent and paired t-tests (comparing difference of two means) fit into idea of general linear model
What does b0 and b1 represent in this general linear model? - (2)
*b0 is equal to the mean of group coded as 0 (in this case no cloak)
* b1 is difference between group means –> difference between cloak and no cloak
The t-distributed is defined by its
degrees of freedom - related to the sample size.
The t distribution has heavier tails for - (2)
lower degrees of freedom (small N studies)
increased uncertainty and a higher likelihood of observing extreme values than large N studies with less heavy tails as t distribution goes to normal
The probability of a value of t occurring yields the p value for the difference between the means occurring by
chance
What are the two different t-tests? - (2)
- Independent-means t-test
- Dependent/Paired -means test
Independent and Paired T-tests have one predictor (X) variable with 2 levels and only …. outcome variable (Y)
one
When is an independent-means t-test used?
When 2 experimental conditions and different participants are assigned to each conditiont
What is independent-means t-test sometimes called as well?
independent-samples t-test
When is a dependent-means t-test used?
Used when there are 2 experimental conditions and same participants took part in both conditions of the experiment
What is dependent-means t-test sometimes referred to?
Matched pairs or paired samples t-test
For independent and paired t-tests we compare between the sample means that we collected to the difference between sample means that we would expect if
there was no effect (i.e., null hypothesis was true)
In independent and paired t-tests if standard error was small then suggests that sample means of two groups are quite
similar
Formula of calculating t- test statistic (form depend on whether same or different participants used in each experimental condition) in independent/paired
Formula of calculating t-statistic shows obtaining t-test statistic by diving the model/effect by the in independent /apried
error in the model
Expected difference in calculating t-test statistic in most cases is
0 - expect differences between sample group means we colelcted to be different to 0
If observed difference between sample means get larger in t-tests then more confident we become that
null hypothesis is rejected and two sample means differ because of experimental manipulation
Both independent t-test and paired t-test are … tests based on normal distribution
parametric tests
Since independent and paired t-tests are parametric tests they assume that the - (2)
- Sampling distribution is normally distributed - in paired it means sampling distribution of differences of scores is normal not the socres itself!
- Data measured at least interval level
Since independent-tests used to test different groups of people it also assumes - (2)
- Variances in populations are roughly equal (homegenity of variance) = Leven’s test
- Scores are independent since they come from different people
Diagram of equation of calculating t-statistic from paired t-test and explain - (2)
- Compares mean differences betwen our samples (–D) to the differences we would expect to find between population means (uD) which is divided by standard error of differences (sD / square root N)
- If H0 is ture, then expect no difference between population means hence uD = 0
A small standard error of differences tells us that in paired-t-test
pairs of samples from a population have similar means to population
A large standard error of differences tells us that in paired t-test - (2)
that sample means can deviate quite a lot from the populatio mean and
sampling distribution of differences is more spread out
The average difference between person’s socre in condition 1 and condition 2 -(¯D) in paired t-test is an indicator of
systematic variation in the data (represents experimental effect)
If average differences (–D) between our samples is large and standard error of differences is small in paired-t test then we can be confident that
the difference we observed in our sample is not a chance result and caused by experimental manipulation
How do we normally calculate the standard error?
SD divided by square root of sample size
How to calcuate the standard error of differences in paired-test?(σ –D)
Standard deviation of differences divided by square root of sample size
the t-statistic in paired t-test is
ratio of systematic variation in experiment (average difference D) and unsystematic variation (standard erro of differences)
When would we expect t statistic greater than 1 in paired-t-test equation?
If the experimental manipulation creates any kind of effect,
When would we expect t statistic less than 1 in paired t-test equation?
If the experimental manipulation is unsuccessful then we might expect the variation caused by individual differences to be much greater than that caused by the
experiment