**ADV 581 First SPSS Assignment **

**DUE: 5pm, November 18**

**50 points**

** **

- Answer each question and provide the syntax that you used to get the answer. (15 points)

* HINT: Use the FREQUENCIES command.*

- What is the
__percentage__of female respondents in the dataset? (Q40,*sex*)

*HINT: Female is already coded as high (‘1’) while male is coded as low (‘0’)*

*HINT: % of Female and % of male should add up to 100%.*

__ANSWER:__ ____ %

SYNTAX:

- What is the
__percentage__of respondents who identify their party affiliation as Independents? Exclude respondents who answer Other or DK/NA. (Q32,*partyid*)

**ADV 581 First SPSS Assignment **

*HINT: Recode Other ([4]) and DK/NA ([9]) as missing values first.*

*HINT: % of Republican, Democratic, and Independents should add up to 100%.*

__ANSWER:__ ___________ %

SYNTAX:

- What is the average and standard deviation of the time that the respondents have lived in the Ithaca area? And what is the distribution? (Q20a,
*lvlength*)

__ANSWER:__ Mean = ___________; S.D. = _____________

DISTRIBUTION (Directly copy and paste the histogram from the SPSS Output)

**ADV 581 First SPSS Assignment **

SYNTAX:

- Describe the percentage of respondents in the dataset who identify their social ideology (Q34;
*ideosoc*) as liberal, moderate, and conservative (i.e., Recode the original seven points to three points; Recode DK/NA as missing values) (5 points)

* HINT: Use RECODE and FREQUENCIES commands.*

* HINT: % of Liberal, Moderate, and Conservative should add up to 100%.*

* *

__ANSWER:__ Liberal: _____________%

Moderate: ___________%

Conservative: ________%

**ADV 581 First SPSS Assignment **

SYNTAX:

**ADV 581 First SPSS Assignment **

- Perform the correlation test to examine the following research hypothesis:

__Research hypothesis: Individuals’ economic ideology (Q33; ideoeco) is positively related to their social ideology (Q34; ideosoc) (15 points)__

*HINT: Check the two variables first and recode [9] DK/NA into sysmis first.*

Q: What’s the __Pearson’s r coefficient __and

__ANSWER:__ Pearson’s r: _______________

p-value: __________________

Significant: __________ (Yes or No)

Q: Do you __reject__ or __fail to reject__ your null hypothesis? Why?

*HINT:* *Use the results of the correlation test*

__ANSWER: __

SYNTAX of your correlation test command:

- Answer the following two questions related to party affiliation (Q32; partyid) and intention to vote (Q13a; vote) (15 points)

*HINT: For partyid, recode Other ([4]) and DK/NA ([9]) responses as missing values first.*

*HINT: For vote, recode DK/NA ([9]) as missing values first.*

Research Question 1: What’s the proportion of Democratic respondents who say they would vote? (1 point)

__ANSWER:__

Research Question 2: Is there a significant association between party affiliation and intention to vote? (Use the alpha level of .001) You should also report the results of the chi-square test. (2 points)

__ANSWER:__

SYNTAX of your crosstabs and chi-square test command:

error: Content is protected !!