In this exercise you will learn to visualize the pairwise relationships between a set of quantitative variables. To this end, you will make your own note of 8.1 Correlation plots from Data Visualization with R.
Fireplaces, bedrooms, living area, rooms, bathrooms, land value, lot size, and pct college all have a positive correlation with home price.
Living area and bathrooms have a strong positive correlation with home price.
Age has a negative correlation with home price.
There are no factors with a strong negative correlation with home price.
The two factors witht the highest positive Pearson Product-Moment correlation coefficient are Rooms and Living Area. The two factors with the greatest negative Pearson Product-Moment correlation coefficient are Bathrooms and Age.
Hint: The CPS85 data set is from the mosaicData package. Explain wage instead of home price.
1. Education, age and experienece has positive correlation with wage. 2. There are no factors with a strong positive correlation with wage. 3. There are no factors with a negative correlation with wage. 4. There are no factors with a strong negative correlation with wage. 5. Age and experience have the highest positive Pearson Product-Moment correlation coefficient. Education and experience have the greatest negative Pearson Product-Moment correlation coefficient. 6. Wage and Experience have the Pearson Product-Moment correlation coefficient closest to zero. There is no visable correlation between the two variables.
Hint: Use message, echo and results in the chunk options. Refer to the RMarkdown Reference Guide.