The t-distribution:
The t-test takes into account both he expected mean and a measure of the standard error of the mean based on the sample.
one sample design
Benefits=
- can be used to compare group data with known variables
Disadvantage:
we may not always no population values and we may want to compare two groups, or to investigate the change of behaviour over time.
IMD
Independent measures design:
- We have two groups and the values come from different people (ie. Each person provides one measure in one group only) group 1 mean =4.75 and group b mean= 9
Benefits: the measurements are independent, we don’t have to worry about learning effects due to the repeated exposure
Disadvantages=
- people in the different groups might be quite different in various ways: personality, motivation etc. we need large sample sizes to average out these effects, or we need to counterbalance factors that we know may influence the results
- We cannot study the behavioral over time.
RMD
here is a single group which provides data for both conditions, ie. The value s from each condition come from the same people.
Advantages:
- we don’t have to think about the differences in baseline factors such as personality because there will alwaus affect both conditions equally
- We can study changes in behaviour over time
- We can usually test fewer people
Disadvantages:
- Measurements are not independent we need to calculate the variance differently
- People know the treatment after the first condition and cant be naieve in the second round. This might not work for every experiment
- We need to carefully counterbalance the conditions to avoid unwanted order effects.
comparing means
One sample t-tests
- We have one group with values coming from different people. This is compared to a single value.
Non directional hypothesis:
directional hypothesis
independent measures t-test
pooled variance
average of the two sample variances, this only works if we have unequal sample sizes, if they are unequal use different approach.
degrees of freedom
need to add up the sample size for each group and then subtract two. Two groups estimating the mean for each group, and in both of the groups one value will be constrained and cant vary.
to tell the difference between groups.,
If we had hypothesized any difference between the groups, that would bean we are interested in both directions possibly changing so we look in the 0.5. empirical t was smaller than the critical t this time which means no significant result.
paired samples t-test
effect size measures
effect size, cohen’s d.
effect size- r2
confidence intervals
A confidence interval, a range of values centred around a sample statisitc, the logic behind this is that the sample statistic such as the sample mean should be relatively near to the corresponding population parameter.’
We could set a 95% confidence interval around the sample mean to be sure the population mean was contained in this interval 95% of the time.
assumptions before running t-test