Regression Analysis By Example Guide
): Daily high temperature (the factor you think causes the change). 1. The Simple Linear Model The goal is to find the equation for a straight line:
): This tells you what percentage of the "story" is explained by temperature. If , then 85% of your sales fluctuations are due to heat. Regression Analysis by Example
Once you run the numbers, you don't just take the result at face value. You check: R-Squared ( R2cap R squared ): Daily high temperature (the factor you think
Regression isn't just about the past; it’s about the . With a solid model, you can check tomorrow's weather forecast and know exactly how much milk to order. If , then 85% of your sales fluctuations are due to heat
Imagine you own a coffee shop. You want to know: Dependent Variable ( ): Daily iced coffee sales (what you want to predict). Independent Variable (
