Write r code to generate a correlation matrix

Assignment Help Other Subject
Reference no: EM132363590 , Length: 3

Assessment 1 is an individual assessment. In assessment 1, you are assigned tasks which assess your unit knowledge gained between weeks 1 and 5 about different facets of data science. You are required to write and execute R code for the given tasks. You are also required to write a report which will have R code, output screenshots showing the answers to the questions, and analysis of the generated outputs in tasks 1-10providedbelow.

The tasks

You will use R language for data analysis exercises provided in this assessment. These tasks will help to build your knowledge of data formats, storage, retrieval, and analysistechniques.

You are required to work onthe Bostonhousing dataset from the UCI Machine Learning Repository. Download the Boston housing dataset from the UCI Machine Learning Repositoryto your working directory.

For each task, write R code, generate the output by executing the R code on the given dataset and save the screenshots of the output. Save all R source codes, output screenshots and analysis on the generated outputs inan MS Word file. This Word file is required to be submitted as a report for marking. Each task should be numbered correctly for marking.

The data analysis tasks are given as follows.

1. Write R code to load the Boston housing dataset into the variable present_local? Place your screen shot.

2. Write R code to see the number of variables and records in the givendataset.

3. Write R code usingtail ()function to view the last 10 rows from the given dataset.

4. Write R code to generate a summary of information on the given dataset that should include the minimum, maximum, mean, and standard deviation of each variable.

5. Write R code to generate a correlation matrix (Hints: Use corrplot() function.) Write down a short description on the generated matrix with a proper screenshot.

6. Write R code to see the summary of per capita crime rate by town(CRIM)and find out number of high crime rate suburbs and low crime rate suburbs in Boston.(Hints: Use quantile (x, ...) function. Consider CRIM above 90th percentile value as high crime rate and CRIM below 30th percentile value as low crime rate.) Describe the findings and place the screenshot.

7. Write R code to generate scatter plotsof(i) per capita crime rate(CRIM)vs.median value of owner-occupied homes(MEDV), (ii) property-tax rate (TAX) vs.median value of owner-occupied homes(MEDV) and (iii) % lower status of the population (LSTAT) vs.median value of owner-occupied homes(MEDV). Explain the findings and place the screenshots.

8. Write R code to generate a histogram plot of% lower status of the population (LSTAT). Write down your analysis on the distribution of LSTAT with a screenshot.

9. Write R code to generate Box plots of all variables in the givendataset. (Hints: Use boxplot()function.)Provide the screen shot of the Box plots and identify which variables have outliers.

10. Write a conclusion on your overall analysis and data quality.

Reference no: EM132363590

Questions Cloud

With what are some of these requirements related : Explain why those who work in hospitality service industries should have a clear understanding of the different requirements their clients/ customers might have
Return on investment and cost analysis : Imagine it is your task to calculate ROI for a hypothetical training program. Determine one key element that would factor into your calculation of ROI
Organization strategy for a business message : Why audience analysis is so important in the selection of the direct or indirect organization strategy for a business message?
Team meeting he sits next to you and if asked : Andrew has worked with you a long time, even before you became the team leader. Now when you have a team meeting he sits next to you and if asked
Write r code to generate a correlation matrix : Write R code to load the Boston housing dataset into the variable present_local? Place your screen shot. Write R code to generate a correlation matrix.
Define complementary therapy and how it is used in practice : Complementary and alternative therapies are often used in combination with traditional medical practices to provide enhanced treatment.
You overheard your team member john : You overheard your team member John telling a customer that the company is always behind on its deliveries... its just what it is.
How would you ensure that this does not happen again : How would you ensure that this does not happen again?
Describe key aspects of your suggested approach : Describe key aspects of your suggested approach to planning for and implementing change. What are two or three essential steps or strategies that deserve.

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd