# Linear Regression ^aab594 ## Statical tools Numpy comes with some useful statistical tools that we can use to analyze our data. ### Mean The mean is the average of a set of numbers. It is calculated by summing all the numbers and dividing by the count of numbers. ```python import numpy as np mean = np.mean([1, 2, 3, 4, 5]) median = np.median([1, 2, 3, 4, 5]) std = np.std([1, 2, 3, 4, 5]) variance = np.var([1, 2, 3, 4, 5]) ``` ###