Linear Regression
Last updated
Last updated
Now youโre ready to see if hot weather really correlates with crime rates! ๐ฅ๐ฎ
But checking with the eyes is unprofessional! Let's check the correlation of the variables!
Now that we see, that there could be a correlation between temperature and crime count. Let's check with a simple linear regression!
Simple linear regression just wouldn't be enough. Let's get some more independent variables in!
Color and labels help visually distinguish the data lines, enhancing clarity and making the plot easier to interpret.