A local news outlet is making a claim saying that the greater number of kids who receive free school lunch the greater the crime rate is for the area. To check the accuracy of the claim a regression analysis can be done. After the regression analysis is complete (Figure 1-3) the results show that there is a significance level of .005. This shows there is significance. With that being said, the hypothesis fails to be rejected, there is a small relationship between free lunches and crime. The regression equation is y=1.685x+21.819, looking at the data with crime at 79.7 over 34% are getting free lunch. The news station is making a correct claim except the correlation between the two is not very strong.
| Figure 1 - Summary |
| Figure 2 |
| Figure 3 - Results |
Part 2
Introduction:
The UW - School system is attempting to look at all the Universities in it's network and make some conclusions based on the results after analyzing. Analyzing data from the universities might help the UW System understand how Wisconsin students choose various UW schools. For this lab the data for UW - Eau Claire and UW - Milwaukee were looked at.
Methods:
Using spatial regression many conclusions can be made after analyzing the data. To do so, the program SPSS and ArcMap compliment each other heavily for analyzing and presenting the results. A series of variables can all be analyzed using the data provided by the UW - School System. In this case there are two hypothesis's possible, the null hypothesis states there is no relationship between the two variables and the alternate hypothesis states there is a relationship. The data looked at for this lab was the number of students attending both Eau Claire and Milwaukee against Population/Distance, % Population with a Bachelor's Degree and Median Household Income at a county level. The regression analysis was done using SPSS and once ran the results showed what sort of relationships existed between the data and variables. After getting the results, data that was statistically significant was mapped. Residual data could be exported as a .dbf and used in ArcMap to make the data more visually appealing and easier to determine patterns.
Results:
Three tests were ran comparing Eau Claire and Milwaukee focusing on Population/Distance, % Population with a Bachelor's Degree and Median Household Income at the county level. Of these three tests only two were significant. Median Household Income was not significant. For both Eau Claire (Figure 4) and Milwaukee (Figure 5) the significance value for the number of students attending to Median Household Income (HHI) had significance levels greater than .005 (.104 and .027). With that being said, both fail to reject the null hypothesis.
| Figure 4 - HHI Results for Eau Claire |
| Figure 5 - HHI Results for Milwaukee |
The other two tests on the other hand did show a level of significance. Both population/distance and percent of the counties population with a Bachelor's degree bad a significance level lower than .005. With that being said the tests show you have to reject the null hypothesis. The pop/dist test for Eau Claire (Figure 6) had a significance of .000 and had a high r^2 (.945) this signifies a strong level of regression. The pop/dist test for Milwaukee county was very similar (Figure 7), it had a significance of .000 also and had a strongly correlated r^2 value of (.922).
| Figure 6 - Pop/Dist results for Eau Claire |
| Figure 7 - Pop/Dist results for Milwaukee |
The last test regarding Bachelor degrees was also significant. For Eau Claire (Figure 8) the test produced a significance level of (.003) but had an r^2 value of (.121) this shows a weak level of regression. Milwaukee (Figure 9) had a similar result with a significance of (.001) and an r^2 value of (.160) showing a weekly correlated regression.
| Figure 8 - Bachelor Degree results for Eau Claire |
| Figure 9 - Bachelor Degree results for Milwaukee |
Because two of the three tests came back significant these results could be mapped to give a visual representation. After being exported from SPSS the data was joined to a WI .shp file. (Figure 10) represents the results from the pop/dist test related to UW - Eau Claire. For the most part the counties followed the regression except for Milwaukee county, the other higher population counties have higher amounts of students attending Eau Claire than the model predicted, Milwaukee was lower. (Figure 11) represents the results from the bachelor degree, the counties closest to Eau Claire deviate more than counties further away. (Figure 12) shows the results of the pop/dist test for Milwaukee. The map shows higher deviation in counties with higher populations except for Milwaukee. Closer, smaller populated counties do not deviate as much. The last map (Figure 13) shows the results of the bachelor degree test. The lower population counties with more rural communities deviate higher than the regression and lower the further you get from Milwaukee.
![]() |
| Figure 10 - Map results from Pop/Dist test for Eau Claire |
![]() |
| Figure 11 - Map results from Pop/Dist test for Milwaukee |
![]() |
| Figure 12 - Map results from Bachelor test for Eau Claire |
![]() |
| Figure 13 - Map results from Bachelor test for Milwaukee |
Conclusion:
Out of all the three tests the biggest indicator is population normalized by distance. The results showing a high r^2 value highlights that. Although there was significance regarding bachelor degrees it happened to be rather week overall. People generally enjoy going to school nearest to where they live and in this case this is no different. The higher populated counties send more kids to schools and this can be assumed without the use of tests. Areas with more money are likely to send kids to a more well known school such as Milwaukee or Madison. Going off of that, areas with a high amount of the population holding degrees will often times produce more kids going to school to seek a degree. Although pop/dist and bachelor degrees per population are good variables to look at, there are endless variables that can be explored and focused on additionally when marketing a certain school to an area.







