Lesson 14
Lesson 14
Analyzing
Results
Then they are asked the following test question: “What does a car do at a
green light?”
The experimenter hopes subjects will give the wrong answer, “Stops,”
instead of the correct answer, “Goes,”
Example:
The control group could be asked a different question.
After the subject responds, the same test question is asked, and the
subjects’ responses, correct or incorrect, are recorded
Example:
First, let’s answer the questions earlier.
Column Total 24 16
Computation of Chi-square (x2)
● First, obtain the expected frequency (E) for each of the four cells in the
table using the following formula:
● Once you have the expected frequencies, you can calculate 2 using
this formula:
Computation of Chi-square (x2)
● Substituting our data, we would have the following
Chi-square (ꭕ 2)
● To know if the value is large enough to reject the null hypothesis, we
must compare the value we obtained (ꭕ2obt) with the critical value
needed to reject H 0
● The critical value can be found in the ꭕ2 table of critical values
● To select the appropriate ꭕ2 distribution from the table, however, we
need to first understand the concept of degrees of freedom.
Degrees of Freedom (df)
● The number of members of a set of data that can vary or change value
without changing the value of a known statistic for those data
○ Let us say we know the mean of the data, the degree of freedom
tells us how many members of that set of data could change
without altering the value of the mean
Example:
Imagine that a phone number is a set of data with a mean of 5. It has
seven digits; so to produce a mean of 5, the total of the seven digits must
equal 35. Suppose that the first six digits are 6,7,4,3,9, and 2. Can you
find the last digit?
Degrees of Freedom (df)
● The degrees of freedom in the distribution of a statistic vary in a way
related to the number of subjects sampled
● We also compute degrees of freedom differently for different test
statistics
○ For the analysis of a 2x2 contingency table, there is only 1 df
○ Formula: number of rows minus 1 x number of columns minus 1
○ df = (2-1) x (2-1) = 1
Degrees of Freedom (df)
● The way we compute the degrees of freedom can
also vary with different applications of the same
statistic
● This is the reason why critical values of test statistics
are always presented and organized by degrees of
freedom rather than by number of subjects
Interpreting
the
Chi-square
Interpreting the Chi-square
● Once that we know the df we can look up the critical value in the table
○ For a significance level of .05, the critical value is 3.84
Interpreting the Chi-square
If we were writing up the results of this experiment, we could now say the ff:
● The research hypothesis was supported
● As predicted by the research hypothesis, there was a significant
difference between the experimental and the control condition
● Subjects who received the T-O-P-S prime were much more likely to give
incorrect response “Stop” than were subjects who were given the control
prime.
Disadvantages of using Statistical
Packages
● These packages will still run programs designed for interval or ratio even
if your data is nominal
● These programs will not tell you how to interpret your data, you will need
to have enough knowledge with statistics to interpret the data
Cramer’s Coefficient Phi (Φ)
Cohen (1988) suggests the following criteria for interpreting the size of Φ
● Φ=.10 (a small degree of association)
● Φ=.30 (medium degree of association)
● Φ=.50 (large degree of association)
● Like r2 , Φ 2 can be interpreted as the proportion of variance shared by the
two variables (it can be reported as an estimate of the effect size in the
experiment.
T Test
Example:
1. There is one independent variable (“fun”).
2. There are two treatment conditions (“fun” versus “no fun”).
3. The experiment is run between subjects. (Each treatment condition
has different subjects.)
4. The subjects are not matched.
5. The dependent variable is measured by a ratio scale (time).
T-test
● T-test is a statistic that relates differences between treatment means to
the amount of variability expected between any two samples of data
from the same population
● It is used to analyze the results of a two-group experiment with one
independent variable and interval or ratio data
● The exact probabilities for each value of t had been calculated, but the
distribution of these values changes depending on the number of
subjects in the samples
Effects of Sample Size
● Sample size is important for t-test because the exact
shape of the distribution of t changes depending on
the size of the samples
● Sample size is also important because of the
assumptions we make whenever we apply t
Why are large samples needed for t-
test?
● Larger samples make it easier to reject H0 because
the critical value of t gets smaller as sample size
(and degree of freedom) increases
● With fewer subjects, we have a greater chance of
making a type 2 error
Degrees of Freedom and Critical Value
of T-test
● We select the appropriate t distribution based on degrees of freedom
rather than the sample size.
● The critical value of t is the value we needed to exceed to reject the H0
at our chosen significance level
○ For probabilities, this mean that the computed value of t is so
extreme that it could have occurred by chance less than 5% of the
time
● Fewer degrees of freedom mean more variability between samples
● We need to understand that critical values of t that will change
depending on the type of hypothesis (directional or non-directional)
Direction of the Hypothesis