you can read the details

profilen9n9
HW3HomeworkAssignment31.docx

Homework Assignment 3: Descriptive Statistics Name______________________

**Note: For this homework assignment, you must download and open the Excel file entitled nes2012sample**

Instructions for this part:

For each question, you must show your work . Writing the correct answer without showing your work will result in half-credit. Writing the incorrect answer without showing your work will result in no credit at all. You may check your answers with any computer program you would like. However, the logic of how you got to the correct answer must be clear to me.

Codebook

The following selected variables are from the 2012 American National Election Study, which randomly selected 5,916 citizens of voting age. Using a computer, I randomly selected 20 of these people.

aidblack_self

Where would you place YOURSELF on this scale, or haven’t you thought much about this?

1

2

3

4

5

6

7

Government Should Help Blacks

Blacks Should Help Themselves

dem_marital

Are you now married, widowed, divorced, separated or never married?

1

Married (Spouse Present)

2

Married (Spouse Absent)

3

Widowed

4

Divorced

5

Separated

6

Never Married

discrim_blacks

How much discrimination is there in the United States today against each of the following groups? Blacks

1

2

3

4

5

A Great Deal

A Lot

A Moderate Amount

A Little

None at All

Obama_therm

Ranges from 0-100

· Ratings between 50 degrees and 100 degrees mean that you feel favorable and warm toward the group.

· Ratings between 0 degrees and 50 degrees mean that you don't feel favorable toward the group and that you don't care too much for that group.

· You would rate the group at the 50 degree mark if you don't feel particularly warm or cold toward the group.'

patriotism

Patriotism scale with 0 being the lowest level of patriotism and 15 being the highest level of patriotism.

pid_x

1

2

3

4

5

6

7

Strong Democrat

Not very strong Democrat

Independent-Democrat

Independent

Independent-Republican

Not very strong Republican

Strong Republican

Part A: Measurement (Redux) (10 points; 2 points each)

Question 1

For each of the following variables in this dataset, tell me whether it is a categorical, ordinal, or continuous variable:

a) aidblack_self

b) dem_marital

c) discrim_blacks

d) Obama_therm

e) pid_x

Part B: Describing Categorical Variables (10 points; 6, 2, 2)

Question 2

For the variable “dem_marital” do the following:

a) Create a frequency table with columns labeled “Category,” “Number of Cases” and “Percent”.

b) What is the most appropriate summary of the centrality of this variable?

c) What is that value?

Part C: Describing Quantitative Variables: Rank Statistics (16 points; Q3 8 points; 6, 2 and Q4 8 points; 2, 4, 2)

Question 3

For the variable “pid_x” do the following:

a) Calculate the median.

b) What is the substantive interpretation of this number? (i.e. what does this number mean in the context of the scale of the variable?)

Question 4

For the variable “patriotism” and using the data on the right not the Excel file, do the following:

a) Calculate the IQR.

b) Using the formula for detecting outliers, calculate the highest non-outlier value and the lowest non-outlier value.

c) Are there any outliers in these data? Explain

Part D: Describing Quantitative Variables: Statistical Moments (14 points; 2, 10, 2)

Question 5

For the variable “Obama_therm” do the following:

a) Calculate the mean.

b) Calculate the standard deviation.

c) The skewness of this variable is -.5199338. Draw a very rough distribution of this variable (i.e. where would you expect the hump to be?)