AT Math Proposal

Andrew Edds

For my AT Math proposal, I decided to take the data given by the Government owned and run page for the City of Chula Vista California, along with the data from Chula Vista’s violent crime statistics over the years that I found through the California State Crime Statistics page. I took the data, filed it in a data sheet through excel. (Pic 1) 

 

I saved the sheet as a .csv file, put it in my python folder, and then combined that file with a .py file that was instructed to run this .csv file. The coding is shown in picture 2. 

 

The first 2 lines are the preliminary codes, setting up the coding and giving it the ability to be visual represented in graph form. The next line, line 4, is what instructs python to run data from this .csv file. Next, lines 6-8 format the graph. line 6 shows the title of the graph, line 7 is the x-axis title, and line 8 is the y-axis title. Lastly the lines 11 and 12 instructs the data to be graphed as a scatter plot, with number of parks to have red points and crime rate to have blue points. The last line is what instructs the data to be shown in a graphical form. Picture 3 is the graph. 

 

This project forced me to go beyond what I have learned in single variable statistics so far, and required me to not only learn two variable statistics, but also learning the coding of that, and the coding of a scatter plot. The overall process was very frustrating and difficult, but if anything represents my ability to code and program at an exemplary level, it would be this. I was able to teach myself the coding principles and program the graphical representation of this correlation study. In addition, the application of this can be seen in my AT English proposal, a letter to the Minister of Community Development, Sports and Youth. It analyses this data and data from other sources to formulate the argument that the implementation of skateparks has positive effects on at-risk youth. You can all read this if you are interested.