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.
The Factors that have positive correlation with home price are Fireplaces, Bedrooms, Living Area, Rooms, Bathrooms, Land Value, PCT College, and Lot Size.
The factors that have a strong correlation with home price are Living Area and Bathrooms.
The only factor that has a negative correltion with home price is age, the older the home is the cheaper the price.
There are no factors that have a strong negative correlation with home price.
The two variables that have the highest positive correlation are Living area and Rooms. The two with the strongest negative correlation are bathrooms and age, this is still a weak correlation but the strongest negative correlation we have.
Hint: The CPS85 data set is from the mosaicData package. Explain wage instead of home price.
Exper, educ and age have a positive correlation
There are no variables that have a strong positive correlation with wage.
No factors have a negative correlation with wage.
No factors have a strong negative correlation with wage.
The two variables with the strongest positive correlation are age and exper. The two with the strongest negative correlation are Exper and Educ.
Hint: Use message, echo and results in the chunk options. Refer to the RMarkdown Reference Guide.