Docsity

PUBP704: Problem Set 1 - Data Analysis - Prof. Naoru Koizumi, Assignments of Public Policy

Toggle sidebar
bg1
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 the sample mean and the median.
b. Calculate the trimmed mean by eliminating the smallest and the largest
sample observations. Explain advantage(s) of trimmed mean.
c. Calculate the sample variance S² and the standard deviation S.
The article also reported values of married male. The sample mean for the first 13
observations was 119.8, and the 14th observation, somewhat of an outlier, was 159.
d. What is the value of the sample mean for the entire sample of married male?
e. What is the value of the sample mean for the entire sample (that includes both
married female and male)?
For the questions below, make sure to include all plots and tables in your answer
sheets created in MS word (meaning that no “print out” of the SPSS output!)
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 blades.sav,
where the first column denotes the lifetime (in 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). Include the graph in the answers.
b. Plot a box-plot for both types of blades in one graph. Include the graphs in
the answers.
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.
d. On the basis of the information you obtained in b and c above, state why you
may think the new blade is (or is not) better.
e. Remove the top `outlier' (that happens to be) in the NEW group (Use “Data
=> “Select Cases” in stead of deleting the point from the dataset) and then
create the box plot and the mean comparison table again (include the graph in
your answer). How do your conclusions change (if at all)?
pf2

Partial preview of the text

Download PUBP704: Problem Set 1 - Data Analysis - Prof. Naoru Koizumi and more Assignments Public Policy in PDF only on Docsity!

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 the sample mean and the median. b. Calculate the trimmed mean by eliminating the smallest and the largest sample observations. Explain advantage(s) of trimmed mean. c. Calculate the sample variance S² and the standard deviation S.

The article also reported values of married male. The sample mean for the first 13 observations was 119.8, and the 14th observation, somewhat of an outlier, was 159.

d. What is the value of the sample mean for the entire sample of married male? e. What is the value of the sample mean for the entire sample (that includes both married female and male )?

For the questions below, make sure to include all plots and tables in your answer sheets created in MS word (meaning that no “print out” of the SPSS output!)

  1. 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 blades.sav , where the first column denotes the lifetime (in 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). Include the graph in the answers. b. Plot a box-plot for both types of blades in one graph. Include the graphs in the answers. 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. d. On the basis of the information you obtained in b and c above, state why you may think the new blade is (or is not) better. e. Remove the top `outlier' (that happens to be) in the NEW group (Use “Data => “Select Cases” in stead of deleting the point from the dataset) and then create the box plot and the mean comparison table again (include the graph in your answer). How do your conclusions change (if at all)?

  1. 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. b. Prepare a frequency table (Go to “Analyze” => “Descriptive Statistics” => “Frequencies”) for the employment category (variable jobcat ). Include the table to your answer. 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. d. Make a scatter plot with current salary (salnow) on the vertical axis and beginning salary (variable salbeg) on the horizontal axis. If doing so, make sure to use different markers (or color if you are printing out in color) for male and female. Include the table to your answer. Finally, describe the relationship between the two variables.