Correlation
Correlation
The correlation coefficient (a value between -1 and +1) tells you how
strongly two variables are related to each other. We can use the CORREL
function or the Analysis Toolpak add-in in Excel to find the correlation
coefficient between two variables.
Note: can't find the Data Analysis button? Click here to load the Analysis
ToolPak add-in.
Result.
Regression
R Square | Significance F and P-Values | Coefficients | Residuals
Note: can't find the Data Analysis button? Click here to load the Analysis
ToolPak add-in.
3. Select the Y Range (A1:A8). This is the predictor variable (also called
dependent variable).
5. Check Labels.
6. Click in the Output Range box and select cell A11.
7. Check Residuals.
8. Click OK.
R Square
R Square equals 0.962, which is a very good fit. 96% of the variation in
Quantity Sold is explained by the independent variables Price and
Advertising. The closer to 1, the better the regression line (read on) fits
the data.
Most or all P-values should be below below 0.05. In our example this is the
case. (0.000, 0.001 and 0.005).
Coefficients
The regression line is: y = Quantity Sold = 8536.214 -835.722 * Price
+ 0.592 * Advertising. In other words, for each unit increase in price,
Quantity Sold decreases with 835.722 units. For each unit increase in
Advertising, Quantity Sold increases with 0.592 units. This is valuable
information.
You can also use these coefficients to do a forecast. For example, if price
equals $4 and Advertising equals $3000, you might be able to achieve a
Quantity Sold of 8536.214 -835.722 * 4 + 0.592 * 3000 = 6970.
Residuals
The residuals show you how far away the actual data points are fom the
predicted data points (using the equation). For example, the first data
point equals 8500. Using the equation, the predicted data point equals
8536.214 -835.722 * 2 + 0.592 * 2800 = 8523.009, giving a residual of
8500 - 8523.009 = -23.009.
You can also create a scatter plot of these residuals.
Descriptive Statistics
You can use the Analysis Toolpak add-in to generate descriptive
statistics. For example, you may have the scores of 14 participants for a
test.
To generate descriptive statistics for these scores, execute the following
steps.
Note: can't find the Data Analysis button? Click here to load the Analysis
ToolPak add-in.
6. Click OK.
Result: