In: Statistics and Probability
Each of the variables are described as follows.
Feelings towards Barack Obama are measured 0-100 with higher values indicating more positive opinions.
Gender is variable that equals 1 for respondents who identify as female and 0 for respondents who do not.
Race is a variable that equals 1 for respondents who identify as white and 0 for respondents who do not.
Age is the number of years the respondent reports having been alive.
Income is a 28-point scale with higher values denoting greater income earned.
Education is a four-point scale with higher values denoting greater educational attainment (High school or less, Some college, Finished college, Advanced degree).
Marital status is a variable that equals 1 for respondents who are married and 0 for respondents who are not.
Partisanship is the respondents’ self-placement on a seven-point scale ranging from 1 to 7 as follows: Strong Democrat, Weak Democrat, Democratic Leaning Independent, Independent, Republican Leaning Independent, Weak Republican, Strong Republican.
*Data:
X. | obama | female | white | age | income | education | party | marital_status |
1 | 100 | 1 | 0 | 72 | 3 | 2 | 1 | 0 |
2 | 100 | 1 | 0 | 54 | 2 | 2 | 1 | 0 |
3 | 100 | 0 | 0 | 35 | 13 | 1 | 3 | 0 |
4 | 100 | 0 | 0 | 80 | 2 | 1 | 4 | 0 |
5 | 100 | 1 | 0 | 50 | 1 | 1 | 1 | 0 |
6 | 100 | 1 | 0 | 70 | 1 | 1 | 3 | 0 |
Fill in the empty cells of the following table. (This should be used as a template for your own linear model included in your data project.)
Table 1. Regression Estimates of Attitudes Towards Obama
Coefficient | Standard Error | t-value | |
Gender | |||
race | |||
age | |||
income | |||
education | |||
partisanship | |||
marital status | |||
intercept |
2. Using the table you created, answer the following questions (be sure to consult the regression slides on interpreting coefficients properly):
a. What effect does being female have on attitudes towards Obama?
b. What effect does being white have on attitudes towards Obama?
c. What is the relationship between age and attitudes towards Obama?
d. What is the relationship between income and attitudes towards Obama?
e. What is the relationship between education and attitudes towards Obama?
f. What is the relationship between partisanship and attitudes towards Obama?
g. What effect does being married have on attitudes towards Obama?
3. Elaborate on the previous answers by answering the following:
a. Holding all else equal, what effect does increasing one’s age by 15 years have on attitudes towards Obama? b. Holding all else constant, what effect does increasing one’s income by 10 points on this scale have on attitudes towards Obama?
c. Holding all else constant, what effect does moving from the lowest level of education to the highest level of education have on attitudes towards Obama?
d. Holding all else constant, what effect does moving from the lowest level of partisanship to the highest level of partisanship have on attitudes towards Obama?
4. Again using the table you created, answer the following questions:
a. What is the predicted score for Obama from a respondent who is (1) female (2) white (3) 40 years old (4) falls at the median value of income (5) finished college (6) identifies as a Democratic leaning Independent and (7) is married?
b. What is the predicted score for Obama from a respondent who is (1) male (2) white (3) 60 years old (4) has the highest level of income (5) never attended college (6) identifies as a Strong Republican and (7) is married?
c. What is the predicted score for Obama from a respondent who is (1) male (2) not white (3) 23 years old (4) has the sixth-lowest level of income (5) completed college (6) identifies as a Strong Democrat and (7) is not married?
1.
Coefficients | Standard Error | t Stat | |
Intercept | 100 | 0 | 65535 |
female | 0 | 0 | 65535 |
white | 0 | 0 | 65535 |
age | 0 | 0 | 65535 |
income | 0 | 0 | 65535 |
education | 0 | 0 | 65535 |
party | 0 | 0 | 65535 |
marital_status | 0 | 0 | 65535 |
2. a) Positive affect does being female have on attitudes towards Obama.
b) Positive affect does being white have on attitudes towards Obama.
c) Positive corelationship between age and attitudes towards Obama.
d) Positice corelationship between income and attitudes towards Obama.
e) Positive corelationship between education and attitudes towards Obama.
f) Positive corelationship between partisanship and attitudes towards Obama.
g) Positive affect does being married have on attitudes towards Obama.
3. a) Result remains the same.
b) Result remains the same.
c) Result remains the same.
d) Result remains the same.
4.a)1) Four females
2) Zero whites
3) Zero
4) Two
5) Zero
6) Two
7) No one
b) 1) Two
2) Zero
3) No one
4) One
5) Zero
6) Zero
7) Zero
c) 1) Two
2) Six(all)
3) No one
4) Zero
5) Six
6) Three
7) Six (All)