



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




PUAD 611/GOVT 711, Fall 08
Here are three sample questions on two-sample t-tests from previous exams. The questions are given without solutions on the first page. The questions include links to the required datasets and readings. I give suggested solutions on the pages that follow.
QUESTIONS WITHOUT SOLUTIONS
General instructions: Each question on this part requires you to conduct a statistical test. In answering each question, please follow these steps: (1) identify the unit of analysis, the null hypothesis, the dependent variable, and the independent variable; (2) present separate descriptive statistics in both tabular and graphical form for each variable that you include in the test; (3) conduct the appropriate test; (4) identify and interpret means and p-values; (5) tell whether you reject or fail to reject H 0 , and (6) briefly summarize your findings in plain language.
Descriptive Statistics
474 28250 145000 45506.07 16511. 474
Current salary Valid N (listwise)
N Minimum Maximum Mean Std. Deviation
20000 40000 60000 80000 100000 120000 140000 Current salary
140
120
100
80
60
40
20
0
Frequency
Std. Dev. =16511.006^ Mean =45506.07 N =
Gender
236 49.8 49.8 49. 238 50.2 50.2 100. 474 100.0 100.
Female Male Total
Valid
Frequency Percent Valid Percent
Cumulative Percent
Dependent variable: Murder rate. Independent variable: Death penalty allowed (yes/no). Descriptive statistics: Percentages and bar chart for the categorical variable; mean, standard deviation, minimum, maximum, and histogram for the continuous variable.
Death penalty permitted under the law
13 26.0 26.0 26. 37 74.0 74.0 100. 50 100.0 100.
No Yes Total
Valid
Frequency Percent Valid Percent
Cumulative Percent
Death penalty permitted under the law
No Yes
Percent
80
60
40
20
0
74%
26%
US States
About three-quarters of US states permit the death penalty. Statistics Murders per 100,000 people 2006 50 0
Valid Missing
N Mean Std. Deviation Minimum Maximum
Murders per 100,000 people 2006
0.0 2.0 4.0 6.0 8.0 10.0 12.
Frequency
10
8
6
4
2
0
Murder rate by state
Std. Dev. =2.577^ Mean =4.77 N =
The average murder rate is about 5 murders per year per 100,000 people (there is one outlier on high side—Louisiana).
The appropriate test is an independent samples t-test. Group Statistics
13 3.123 1.7451. 37 5.349 2.5879.
Death penalty permitted under the law No Yes
Murders per 100, people 2006
N Mean Std. Deviation Std. Error Mean
Independent Samples Test
2.292 .137 -2.870 48 .006 -2.2256 .7754 -3.7846 -. -3.454 31.450 .002 -2.2256 .6444 -3.5391 -.
Equal variances assumed Equal variances not assumed
Murders per 100, people 2006
F Sig.
Equality of Variances^ Levene's Test for
t df Sig. (2-tailed) Mean Difference Std. Error Difference Lower Upper
95% Confidence Interval of theDifference
t-test for Equality of Means
The average murder rate for states with the death penalty is 5.3 murders per 100,000 people; for states with no death penalty, the rate is 3.1. Reading the top row (because the p-value on the F-test > 0.05, we find that the difference is statistically significant: p=0.006 (<0.05). Reject H 0. But in a surprising result, states with the death penalty actually have higher murder rates. Note that this does not imply that the death penalty leads to higher murder rates. The test does not account for many possible confounding variables.
gender male female
Percent
60
40
20
0
68%
32%
gender