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.

Q1 What factors have strong positve correlation with home price?

Bathrooms;living area, rooms;living area, and most things correlated to price are above .5 or .6.

Q2 Continued from Q1: Does the strong correlation mean the variable causes home price to go up and down?

This causes the price to go up. If there are more master bed and baths, then the house prices go up.

Q3 Continued from Q1: Do you think there is a confounding variable?

There are many confounding variables depending on what a particlar customer is looking to aqquire in a home.

Q4 What factors have strong negative correlation with home price?

Age and almost any other variable. The strongest negative correlations are between age;bathrooms, and age;price. However these are all still considered weak relationships.

Q5 What factors have little correlation with home price?

Age;bedrooms has the weakest positive correlation, but lot size has the weakest collumn overall.

Q6 Simply based on the correlation coefficient, would you be sure that there is no relation at all? What would you do to check?

In order for there to be no correlation between variables the CC would have to have a value of 0, meaning the relationship is non linear. You would check the calculation and formula.

Q7 Plot correlation for CPS85 in the same way as above. Repeat Q1-Q6.

Hint: The CPS85 data set is from the mosaicData package. Explain wage instead of home price.

1.)Age and experience?* are strongly correlated with a calculation of .98.

2.)Yes the strong correlation does affect price.

3.)The confounding variable could be education;wage. The higher educated, the better job, the better wage.

4.)No strong negative correlations

5.)Wage;experience have little correlation with a CC of .09.

6.)It is again unlikely you would be able to find rekation between any of the variables.

Q8 Hide the messages, the code and its results on the webpage.

Hint: Use message, echo and results in the chunk options. Refer to the RMarkdown Reference Guide.

Q9 Display the title and your name correctly at the top of the webpage.

Q10 Use the correct slug.