Statistics

Linear regression

A linear model describes a relationship between two variables - how does one variable changes when a change occurs in the other one? For example, you know how many snacks you need to buy according to the number of people you invite over to hang out. This relationship has only one direction - when values of one variable increase, the values of the other one can either increase (i.e., a positive correlation), or decrease (i.