Microsoft Word - Correlations & Plotting HW.docx
Correlations & Plotting HW
Due Tues May 11th
1. Import pandas as pd
2. Import numpy as np
3. import matplotlib.pyplot as plt
4. import scipy.stats
5. Download CSV file “Depression” which can be found on teams.
6. Import dataset as a new variable called depression.
7. Run describe and info functions on depression data
8. How many rows are in the dataset?
9. How many columns/variables are in this dataset?
10. What are the variable names in this dataset?
11. What is the correlation between Symptoms (symptom severity) and Stress?
12. Make a scatter plot of the two variables
13. Give the plot an x-label, y-label, and title
14. Find and plot the linear line of best fit for the data
15. Display graph