Docsity

Problem Set 1 Solution - Statistical Methods in Policy Analysis | PUBP 704, Assignments of Public Policy

Toggle sidebar
bg1
SOLUTIONS
PUBP704: PROBLEM SET 1
(Due on Thursday, February 14th)
1. A study on blood pressure reported the accompanying data on married female:
244 191 160 187 180 176 174 205 211 183 211 180 194 200
a. Calculate and interpret the sample mean and median.
Mean: (244+191+…+200)/14 = 2696/14 = 192.57
Median: Sort data: mid point is between 187 and 191: (187+191)/2 = 189
Trimmed mean: excluding 160 and 244: 2292/12 = 191 (not much change).
b. Calculate trimmed mean by eliminating the smallest and largest sample
observations. Explain the result.
Trimmed mean: excluding 160 and 244: 2292/12 = 191 (not much change).
c. The article also reported values of married male. The sample mean for n = 13
observations was x=119.8, and the 14th observation, somewhat of an outlier,
was 159. What is the value of x for the entire sample?
d. Calculate and interpret the sample variance S² and then standard deviation S.
Sample variance (S2): ((244-192.57)2+ (191-192.57)2+…+ (200-
192.57)2)/(n-1) = 5657.43/13 = 435.19
S.D. (S) = 435.191/2 = 20.86
2. A large lumber firm is considering the purchase of a new type of tungsten blade for
its rough-cut saws, which is claimed by the manufacturer to have a longer lifetime
than standard blades. The firm has decided to purchase 100 of the new blades and test
them against 100 standard blades (which typically last between one and two months).
The test results for the two batches of 100 blades are in the SPSS data file (found at
the class homepage “PS section”), where the first column denotes the lifetime (in
119. 8 i1
n13 Xi
13
i1
n13 Xi13 119. 8 1557. 40
mean f or married male i1
n13 Xi159
14 1557.40159
14 122. 6
mean of the total 192.57122.6
2315.17
2158.
pf3
pf4
pf5

Partial preview of the text

Download Problem Set 1 Solution - Statistical Methods in Policy Analysis | PUBP 704 and more Assignments Public Policy in PDF only on Docsity!

SOLUTIONS

PUBP704: PROBLEM SET 1

(Due on Thursday, February 14

th

1. A study on blood pressure reported the accompanying data on married female:

a. Calculate and interpret the sample mean and median.

Mean: (244+191+…+200)/14 = 2696/14 = 192.

Median: Sort data: mid point is between 187 and 191: (187+191)/2 = 189

Trimmed mean: excluding 160 and 244: 2292/12 = 191 (not much change).

b. Calculate trimmed mean by eliminating the smallest and largest sample

observations. Explain the result.

Trimmed mean: excluding 160 and 244: 2292/12 = 191 (not much change).

c. The article also reported values of married male. The sample mean for n = 13

observations was x=119.8, and the 14th observation, somewhat of an outlier,

was 159. What is the value of x for the entire sample?

d. Calculate and interpret the sample variance S² and then standard deviation S.

Sample variance (S2): ((244-192.57)2+ (191-192.57)2+…+ (200-

192.57)2)/(n-1) = 5657.43/13 = 435.

S.D. (S) = 435.191/2 = 20.

2. A large lumber firm is considering the purchase of a new type of tungsten blade for

its rough-cut saws, which is claimed by the manufacturer to have a longer lifetime

than standard blades. The firm has decided to purchase 100 of the new blades and test

them against 100 standard blades (which typically last between one and two months).

The test results for the two batches of 100 blades are in the SPSS data file (found at

the class homepage “PS section”), where the first column denotes the lifetime (in

 i  1

n  13 X (^) i 13

 i  1

n  13

X i  13  119. 8  1557. 40

mean for married male 

 i  1

n  (^13) X i ^159

14 ^

14 ^ 122. 6

mean of the total  192.57 2  122.6  315.17 2  158.

months) of each blade tested, and the second column denotes the type of blade (`new'

or `old').

a. Plot a histogram of lifetime for each type of blade (i.e., create one graph at a

time by selecting new or old cases).

b. Plot a box-plot for both types of blades in one graph.

c. Compare the means of lifetimes for new and old blades (by using “compare

means” command in SPSS). Include the mean comparison table (titled

“Report”) in your answer.

0.00 2.00 4.00 6.00 8. lifetime

0

5

10

15

20

25

Frequency

Mean = 1. Std. Dev. = 1.34966N = 100

Old

0.00 2.00 4.00 6.00 8. lifetime

0

5

10

15

20

Frequency

Mean = 2. Std. Dev. = 1. N = 100

New

new old type

lifetime

86

165

125

128

life

type Mean N Std. Deviation new (^) 2.2535 100 1. old (^) 1.8711 100 1. Total (^) 2.0623 200 1.

Report

life

type Mean N Std. Deviation new (^) 2.1866 99 1. old (^) 1.8711 100 1. Total (^) 2.0280 199 1.

No change: new blade still looks better.

3. Use the dataset salary.sav , to answer the following questions.

a. Obtain summary statistics (Go to “Analyze” => “Descriptive Statistics” =>

Descriptives) for the current salary (variable salnow ). Also report median

from the descriptive table (obtained by going to “Analyze” => “Descriptive”

=> “Statistics” => “Explore”). Include the table to your answer and briefly

describe each statistic (mean, median and s.d.). Include the tables in your

answer.

Descriptive Statistics

CURRENT SALARY

Valid N (listwise)

N Minimum Maximum Mean Std. Deviation

Descriptives

4.7E+

Mean Lower Bound Upper Bound

95% Confidence Interval for Mean

5% Trimmed Mean Median Variance Std. Deviation Minimum Maximum Range Interquartile Range Skewness Kurtosis

CURRENT SALARY

Statistic Std. Error

Mean is $13,767 while Median is 11,550. This shows that the distribution may have

some outliers (or “positively skewed”).

b. Prepare a frequency table (Go to “Analyze” => “Descriptive Statistics” =>

“Frequencies”) for the employment category (variable jobcat ). Include the

table to your answer.

EMPLOYMENT CATEGORY

227 47.9 47.9 47. 136 28.7 28.7 76. 27 5.7 5.7 82. 41 8.6 8.6 90. 32 6.8 6.8 97. 5 1.1 1.1 98. 6 1.3 1.3 100. 474 100.0 100.

CLERICAL OFFICE TRAINEE SECURITY OFFICER COLLEGE TRAINEE EXEMPT EMPLOYEE MBA TRAINEE TECHNICAL Total

Valid

Frequency Percent Valid Percent

Cumulative Percent

c. Using the mean comparison technique used in 2-c above, see if the mean

salary levels differ depending on the job category. Include the table to your

answer and interpret the results.

Higher beginning salary seems to assure higher current salary (given the positive

trend between the two variables). Also female observations are clustered at lower

left, indicating the female beginning salary tends starts at a lower level with out too

much change over time. Male salary levels vary more (a higher variance) and tends

to start higher with more drastic change over time.