Data analysis in r –

[ad_1]

 ITS836 Assignment 6: Data Analysis in R – 100 points 1) Read the income dataset, “zipIncomeAssignment.csv”, into R. 2) Change the column names of your data frame so that zcta becomes zipCode and meanhouseholdincome becomes income. 3) Analyze the summary of your data. What are the mean and median average incomes? 4) Plot a scatter plot of the data. Although this graph is not too informative, do you see any outlier values? If so, what are they? 5) In order to omit outliers, create a subset of the data so that:  $7,000 < income < $200,000 (or in R syntax, income > 7000 & income < 200000) 6) What’s your new mean? 7) Create a simple box plot of your data. Be sure to add a title and label the axes. HINT: Take a look at: https://www.tutorialspoint.com/r/r_boxplots.htm (specifically, Creating the Boxplot.) Instead of “mpg ~ cyl”, you want to use “income ~ zipCode”. In the box plot you created, notice that all of the income data is pushed towards the bottom of the graph because most average incomes tend to be low. Create a new box plot where the y-axis uses a log scale. Be sure to add a title and label the axes. For the next 2 questions, use the ggplot library in R, which enables you to create graphs with several different types of plots layered over each other. 8) Make a ggplot that consists of just a scatter plot using the function geom_point() with position = “jitter” so that the data points are grouped by zip code. Be sure to use ggplot’s function for taking the log10 of the y-axis data. (Hint: for geom_point, have alpha=0.2). 9) Create a new ggplot by adding a box plot layer to your previous graph. To do this, add the ggplot function geom_boxplot(). Also, add color to the scatter plot so that data points between different zip codes are different colors. Be sure to label the axes and add a title to the graph. (Hint: for geom_boxplot, have alpha=0.1 and outlier.size=0). 10) What can you conclude from this data analysis/visualization? Note: You are required to copy and paste all your R programming commands to your document and you should take the screenshot of your graphs. Your Word document should contain the report of the analysis of your data. Your Word document should have a distinct cover-page and reference-page as usual. Useful commands: install.packages(“ggplot2”) library(ggplot2) Additional links: https://www.statmethods.net/graphs/boxplot.html https://www.r-bloggers.com/how-to-make-a-histogram-with-ggplot2/ http://t-redactyl.io/blog/2016/02/creating-plots-in-r-using-ggplot2-part-7-histograms.html Video: https://www.youtube.com/watch?v=LPMn-lsBMkQ 

Calculate the price
Make an order in advance and get the best price
Pages (550 words)
$0.00
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
How it works
Receive a 100% original paper that will pass Turnitin from a top essay writing service
step 1
Upload your instructions
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
Pro service tips
How to get the most out of your experience with Australia Assessments
One writer throughout the entire course
If you like the writer, you can hire them again. Just copy & paste their ID on the order form ("Preferred Writer's ID" field). This way, your vocabulary will be uniform, and the writer will be aware of your needs.
The same paper from different writers
You can order essay or any other work from two different writers to choose the best one or give another version to a friend. This can be done through the add-on "Same paper from another writer."
Copy of sources used by the writer
Our college essay writers work with ScienceDirect and other databases. They can send you articles or materials used in PDF or through screenshots. Just tick the "Copy of sources" field on the order form.
Testimonials
See why 20k+ students have chosen us as their sole writing assistance provider
Check out the latest reviews and opinions submitted by real customers worldwide and make an informed decision.
Automotive
Keep it up
Customer 452441, April 26th, 2022
accounting
Good work.
Customer 459155, May 22nd, 2022
Business and administrative studies
Good work.
Customer 452615, May 9th, 2022
Education
Thanks for your cooperation. Great work.
Customer 463647, December 16th, 2022
Medicine
Properly format papers in the instructed style and always use Grammarly.
Customer 458101, April 10th, 2022
Education
Excellent.
Customer 454463, April 25th, 2022
Psychology
Good work
Customer 463097, June 24th, 2022
Education
Thanks for pulling this together!!
Customer 463875, April 29th, 2023
Film & Theater studies
Fairly articulated.
Customer 462929, May 4th, 2022
Military
Excellent job
Customer 456821, November 30th, 2022
Education
i really appreciate the work done
Customer 463875, April 28th, 2023
English 101
Good one.
Customer 453625, May 25th, 2022
11,595
Customer reviews in total
96%
Current satisfaction rate
3 pages
Average paper length
37%
Customers referred by a friend
OUR GIFT TO YOU
15% OFF your first order
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat