In my analysis, I will look at seven variables to obeserve their relationships with feelings toward immigration.
| Much Easier | Slightly Easier | No Change | Slightly Harder | Much Harder | Don’t Know | |
|---|---|---|---|---|---|---|
| Yes | 0.09 | 0.17 | 0.26 | 0.19 | 0.24 | 0.05 |
| No | 0.09 | 0.20 | 0.29 | 0.18 | 0.20 | 0.04 |
|
|
##
## Pearson's Chi-squared test
##
## data: MyVoterData$Raised_In_US and MyVoterData$Immigration_Should_Be
## X-squared = 3.0839, df = 5, p-value = 0.6871
The bar graph and crosstab shows little association between being raised in the U.S. and feelings toward immigration policy. This is validated by the chi-squared analysis with a p-value of 0.6871. The analysis shows that there is no statistically significant relationship between being raised in the U.S. and one’s feelings toward changing immigration laws.
| Raised_In_US | avg_ft_immig |
|---|---|
| Yes | 61.09 |
| No | 72.06 |
The table shows that on average, people who were raised outside of the US have higher feelings toward immigrants than people raised within the US.
##
## Welch Two Sample t-test
##
## data: ft_immig_2017 by Raised_In_US
## t = -5.6801, df = 187.14, p-value = 5.077e-08
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
## -14.776177 -7.158242
## sample estimates:
## mean in group Yes mean in group No
## 61.09127 72.05848
The t-test shows that there is a statistically significant difference between the sample means of respondents raised within and outside the US and their average feelings toward immigrants.
| Much Easier | Slightly Easier | No Change | Slightly Harder | Much Harder | Don’t Know | |
|---|---|---|---|---|---|---|
| Not at All Important | 0.16 | 0.26 | 0.26 | 0.14 | 0.14 | 0.05 |
| Not Too Important | 0.08 | 0.18 | 0.27 | 0.20 | 0.21 | 0.05 |
| Somewhat Important | 0.07 | 0.16 | 0.26 | 0.21 | 0.24 | 0.05 |
| Very Important | 0.07 | 0.13 | 0.25 | 0.21 | 0.30 | 0.04 |
|
|
##
## Pearson's Chi-squared test
##
## data: MyVoterData$Relig_Importance and MyVoterData$Immigration_Should_Be
## X-squared = 215.64, df = 15, p-value < 2.2e-16
There is a strong statistical association between religious importance and feelings toward changing immigration laws. 29% of respondents who believe religion is very important also believe that immigration should be much harder, while only 14% of respondents who believe religion is not at all important believe that immigration should be much harder.
| Relig_Importance | avg_ft_immig |
|---|---|
| Important | 59.21 |
| Not Important | 65.56 |
The table shows that on average, people who believe religion is not so important have higher feelings toward immigrants than people who believe religion is important. Based on a p-value of 3.335e-14, the sample mean feeling toward immigration of respondents who believe religion is important is significantly different from those who do not believe religion is important.
##
## Welch Two Sample t-test
##
## data: ft_immig_2017 by Relig_Importance
## t = -7.6164, df = 3504.1, p-value = 3.335e-14
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
## -7.988345 -4.717547
## sample estimates:
## mean in group Important mean in group Not Important
## 59.21060 65.56355
| Much Easier | Slightly Easier | No Change | Slightly Harder | Much Harder | Don’t Know | |
|---|---|---|---|---|---|---|
| Professional/Technical | 0.12 | 0.21 | 0.26 | 0.17 | 0.20 | 0.04 |
| Management | 0.10 | 0.16 | 0.24 | 0.25 | 0.21 | 0.04 |
| Sales | 0.07 | 0.17 | 0.24 | 0.19 | 0.29 | 0.04 |
| Business Owner/Self-Employed | 0.05 | 0.22 | 0.30 | 0.18 | 0.22 | 0.03 |
| Clerical/Administrative | 0.08 | 0.16 | 0.26 | 0.18 | 0.25 | 0.06 |
| Military/Civilian Uniform Services | 0.08 | 0.13 | 0.23 | 0.27 | 0.25 | 0.04 |
| Retired | 0.10 | 0.16 | 0.25 | 0.21 | 0.25 | 0.03 |
| Student | 0.21 | 0.31 | 0.15 | 0.10 | 0.15 | 0.07 |
| Unemployed | 0.10 | 0.14 | 0.25 | 0.18 | 0.25 | 0.08 |
| Other | 0.06 | 0.15 | 0.26 | 0.18 | 0.28 | 0.07 |
|
|
##
## Pearson's Chi-squared test
##
## data: MyVoterData$Occupation and MyVoterData$Immigration_Should_Be
## X-squared = 128.6, df = 45, p-value = 5.58e-10
The crosstab and bar graph show that students are the only occupation category in which the majority respondents believe immigration should be made easier. Based on the p-value of 5.58e-10, the chi-squared analysis validates that there is a statically significant association between occupation and feelings toward changing immigration laws.
| Much Easier | Slightly Easier | No Change | Slightly Harder | Much Harder | Don’t Know | |
|---|---|---|---|---|---|---|
| Very Interested | 0.11 | 0.20 | 0.25 | 0.18 | 0.23 | 0.03 |
| Somewhat Interested | 0.06 | 0.14 | 0.27 | 0.22 | 0.25 | 0.07 |
| Not Very Interested | 0.05 | 0.10 | 0.24 | 0.22 | 0.28 | 0.11 |
| Nothing | 0.07 | 0.04 | 0.22 | 0.26 | 0.19 | 0.22 |
|
|
##
## Pearson's Chi-squared test
##
## data: MyVoterData$Politics_OR_Current_Events and MyVoterData$Immigration_Should_Be
## X-squared = 136.2, df = 15, p-value < 2.2e-16
Based on a p-value of 2.2e-16, there is a statisticaly significant association between following politics or current events and feelings toward changing immigration laws. The crosstabs reveal that respondents who are more interested in politics or current events are more likely to believe that immigration should be easier, while respondents who have no interest have the highest proportion of respondents who do not know how they feel toward immigration policies.
| Politics_OR_Current_Events | avg_ft_immig |
|---|---|
| Interested | 62.12 |
| Not Interested | 55.63 |
The table shows that on average, respondents who are very interested in politics or current events have higher feelings toward immigrants than respondents who are not interested in politics or current events. Based on a p-value of 1.816e-05, the average feeling toward immigration of respondents who are interested in politics or current events is significantly different from those who are not interested.
##
## Welch Two Sample t-test
##
## data: ft_immig_2017 by Politics_OR_Current_Events
## t = 4.3345, df = 435.34, p-value = 1.816e-05
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
## 3.546462 9.430848
## sample estimates:
## mean in group Interested mean in group Not Interested
## 62.12147 55.63281