Download presentation
Presentation is loading. Please wait.
Published byLoraine Miller Modified over 9 years ago
1
Where are we?
3
What we have covered: - How to write a primary research paper
4
What we have covered: - How to write a primary research paper - How to keep a research notebook
5
What we have covered: - How to write a primary research paper - How to keep a research notebook - Types of variables and scales
6
What we have covered: - How to write a primary research paper - How to keep a research notebook - Types of variables and scales - Types of distributions
7
What we have covered: - How to write a primary research paper - How to keep a research notebook - Types of variables and scales - Types of distributions - Attributes of the normal distribution - testing single values – “z” test (one sample t-test)
8
What we have covered: - How to write a primary research paper - How to keep a research notebook - Types of variables and scales - Types of distributions - Attributes of the normal distribution - Comparing means of two independent groups - t-test and MWU
9
What we have covered: - How to write a primary research paper - How to keep a research notebook - Types of variables and scales - Types of distributions - Attributes of the normal distribution - Comparing means of two independent groups - Experimental designs
10
What we have covered: - How to write a primary research paper - How to keep a research notebook - Types of variables and scales - Types of distributions - Attributes of the normal distribution - Comparing means of two independent groups - Experimental designs - Comparing > 2 groups, and multiple effects - ANOVA
11
Fig. 15.1
12
I.Differences Between Means A. 1 Sample one sample t-test (z test) B. 2 samples 1. Independent Groups - t-test (parametric) - MWU (non-parametric) 2. Related Samples - Paired t-test
13
2. Related Samples - Paired t-test
14
2. Related Samples - Paired t-test Suppose we wanted to assess the effect of a muscle- building supplement, and randomly assign people to two groups – placebo and experimental. People differ in many characteristics (ethnicity, sex, weight, diet, etc.), and so these have been randomized across groups. Effects due to these variables are part of the “within group variance” in the denominator.
15
2. Related Samples - Paired t-test But if we give everyone the drug, and assess their performance before and after, then there is no within group variance between sample points – they are the same individual.
16
2. Related Samples - Paired t-test We can look at the distribution of differences between before and after weights, and do a “z-test” asking the question: is “0” an unusual value for this sample? Or, how likely is it that “0” (no difference) is a part of this population of differences? If “0” is unlikely, then our population is different from zero; the difference between “before” and “after” is NOT zero – there IS an effect.
17
2. Related Samples - Paired t-test Y 1 - 0 S/ n 1
18
Personwt. Beforewt. AfterDifference 1150156.51.5 2155156.31.3 3158159.61.6 4160161.41.4 5163164.51.5 6167166.8-0.2 7175176.31.3 8180181.51.5 9185186.11.1 10191192.61.6 mean = 1.26 sd = 0.536 t = 1.26 – 0 0.536 / 10 = 7.46
19
In a two-tailed test, we are asking if a value (or sample) IS DIFFERENT FROM a sample… (it can differ because it is LARGER or SMALLER.)
20
In a one-tailed test, we have a preconceived hypothesis about the direction of the effect. In our experiment here, “0” should be LOWER than the mean of our differences. So, our type one error can be “pooled” into one tail of the distribution.
21
So, our type one error can be “pooled” into one tail of the distribution. This means we use the t value in the table A.2 corresponding to p = 0.1 to test at the p = 0.05 level.
22
You need to look at the table, or to enter the correct test in SPSS
23
I.Differences Between Means A. 1 Sample one sample t-test (z test) B. 2 samples 1. Independent Groups - t-test (parametric) - MWU (non-parametric) 2. Related Samples - Paired t-test - Sign Test (non-parametric)
24
2. Related Samples - Paired t-test - Sign Test (non-parametric) For the matched pairs, you simply record whether one partner is greater (+) or less than (-) the other:
25
Personwt. Beforewt. AfterSign 1150156.5+ 2155156.3+ 3158159.6+ 4160161.4+ 5163164.5+ 6167166.8- 7175176.3+ 8180181.5+ 9185186.1+ 10191192.6+
26
Personwt. Beforewt. AfterSign 1150156.5+ 2155156.3+ 3158159.6+ 4160161.4+ 5163164.5+ 6167166.8- 7175176.3+ 8180181.5+ 9185186.1+ 10191192.6+ Now, if we are testing the hypothesis of NO effect, then we would expect the “after” to be greater 1/2 the time (p = 0.5), and less than ½ the time (q = 0.5). Pairs that don’t differ are dropped from the analysis, with reduction in n.
27
Personwt. Beforewt. AfterSign 1150156.5+ 2155156.3+ 3158159.6+ 4160161.4+ 5163164.5+ 6167166.8- 7175176.3+ 8180181.5+ 9185186.1+ 10191192.6+ Now, if we are testing the hypothesis of NO effect, then we would expect the “after” to be greater 1/2 the time (p = 0.5), and less than ½ the time (q = 0.5). So, this reduces to calculating the probability of a particular BINOMIAL OUTCOME, OR SOMETHING MORE EXTREME. Pairs that don’t differ are dropped from the analysis, with reduction in n.
28
So, if p = 0.5 and q = 0.5 (no effect), what would be the probability of having at least 9/10 individuals show a weight gain just by chance? p(9) = (p 9 ) (q 1 ) = 0.009760 p(10) = (p 10 ) (q 0 ) = 0.0009760 10! (9!) (1!) 10! (10!) (0!) 0.010736 This is the one-tailed probability of seeing at least 9/10 showing a weight gain (directional).
29
2. Related Samples - Paired t-test - Sign Test (non-parametric) - Wilcoxon Signed-ranks test
30
2. Related Samples - Paired t-test - Sign Test (non-parametric) - Wilcoxon Signed-ranks test In the sign test, the magnitude of the difference doesn’t matter. You could have 5 big positive diffs and 4 very small diffs, and it would still be 5 + and 4 -.
31
2. Related Samples - Paired t-test - Sign Test (non-parametric) - Wilcoxon Signed-ranks test In the sign test, the magnitude of the difference doesn’t matter. You could have 5 big positive diffs and 4 very small diffs, and it would still be 5 + and 4 -. The signed-ranks test takes the magnitude of the difference into account.
32
Example 9.5 AGGRESSION Femalew/o kittensw kittensDiff.Rank 13744 22866 354-11.5(-) 46933 551055 61987 78911.5
33
Example 9.5 AGGRESSION Femalew/o kittensw kittensDiff.Rank 13744 22866 354-11.5(-) 46933 551055 61987 78911.5 Sum ranks with positive and with negative values: Negative = 1.5 Positive = 26.5 T = lower value = 1.5
34
Example 9.5 AGGRESSION Femalew/o kittensw kittensDiff.Rank 13744 22866 354-11.5(-) 46933 551055 61987 78911.5 Sum ranks with positive and with negative values: Negative = 1.5 Positive = 26.5 T = lower value = 1.5
35
Compare SMALLER value to critical value, at n for number of paired samples. Reject Ho if calculated value is SMALLER THAN critical value, as our is here (1.5 < 2). N0.05 60 72 84 96 10811
36
Fig. 15.1
37
I.Differences Between Means A. 1 Sample B. 2 Samples C. >2 Samples 1. 1 factor - One way ANOVA - Kruskal-Wallis
38
Consider 4 groups that are not normally distributed, with 10 values each. Rank all values across categories. Sum ranks for categories: 1234 162.5208.5316.5132.5 H = 14.273 Use Chi-square distribution,k-1 df.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.