R语言代写: MA415/615

Assignment 3 – Section 1 project

February 6, 2018

Section 1 Final Assignment

Section 1 of MA415/615 has been about using basic R for data analysis. By now, you have experience reading and manipulating data and producing simple documents, slides, and webpages. For your final Secion 1 assignment, consider the Illegal Alien Apprehension data you have seen in class. For those not familiar with this issue, see this link to CNN coverage which cites the apprehension statistics for April 17. CNN: April 2017 Border Apprehension Statistics

Use the data files included in this assignment:

• BP Apprehensions 2010.csv • BP Apprehensions 2017.csv • BP monthly summaries.csv

Using R’s built-in plotting methods, Visualize the data, camparing the 2010 and 2017 statistics by month and sector. Use simple statistical tests linke those demonstrated in class to compare the sector with the most apprehensions for 2010 and with the sector with the most apprehensions in 2017. Has there been a change in the maximum?

Similarly, compare the 3 month periods with the most apprehensions in 2010 and 2017.

Finally, as we discussed in class, use the monthly summary data make a time series chart like the one below (note: the lines showing annual averages are not a built in feature and needs better labelling).

Use the analysis you have done to produce a document, a slide presentation, and a webpage each of which present your analysis. Use the CNN Story to provide enough material for headers and a little text.

Keep it simple.