Tests of Significance and Measures of Association
Tests of Significance and Measures of Association
Tests of Significance and Measures of Association
Measures of Association
Definitons
Square the two estimates of the standard error for the two
samples for men and women. Sum the squared standard errors.
Take the square root of the sum of the squared standard errors.
That is,
Two Approaches to
Hypothesis Testing
Look up the appropriate p-value in the distribution. The tdistribution depends on the degrees of freedom. Last week
we estimated one parameter, so the degrees of freedom
was N-1. Here we are estimating two parameters so the
degrees of freedom is N-2.
Alternatively, let STATA compute the p-value. It returns a pvalue of 0.0005. In other words, given the sample drawn,
there is only a 0.0005 chance that the true mean difference
in the population is zero. Said differently, only 5 in 10,000 of
the samples drawn from the population would report a
mean of zero.
Comparing Sample
Proportions
The standard error of a difference in proportions is easy to
compute.
Let p1 and p2 be the proportions for two groups. Then, let
q1=(1-p1) and q2=(1-p2) be the complements of these two
proportions. Then, the standard error of the difference in
proportions is given
Example
Chi-square Test of
Significance
A Chi-square test evaluates whether the observed
Example:
Summing the numbers in bold the table, we have a Chisquared statistic of 15.2. We compare this statistic to a
table of Chi-squared statistics with degrees of freedom
equal to (r-1)(c-1)
Measures of Association
Clowfrequent=7*5+7*6=77; Clowoccasional=5*6=30
Thus, there are 77+30=107 pairs that are concordant with
there being a positive relationship. Work diagonally and
down.
Dhighfrequent=3*5+3*4=27; Dhighoccasional=5*4=20
Thus, there are 47 pairs that are discordant with there being
a positive relationship. Work diagonally and up.
There are 60 more pairs that fit a positive than negative
relationship.
However, we need the number of ties to convert this
number to a measure of association from 0 to 1.
Tlow=7*5+7*4+5*4=83; Thigh=3*5+3*6+5*6=63; T=146