A Statistics Project
DataCopy
| Variable | (X-XBar)^2 | ||
| 27.4 | 24.4 | 0 | |
| 27.2 | 25.5 | 0 | |
| 24.1 | 23 | 0 | |
| 22.7 | 20.2 | 0 | |
| 22.1 | 20.1 | 0 | |
| 18.3 | 17.5 | 0 | |
| 17.5 | 16.1 | 0 | |
| 17.5 | 13.3 | 0 | |
| 16.8 | 14.7 | 0 | |
| 16.5 | 13.6 | 0 |
Correlation
| Correlation & Regression | |||||||||
| Data | X-Data | Y-Data | |||||||
| Observation | Ads | Sales | REGRESSION STATISTICS | ||||||
| Obs 1 | 20 | 48 | Observations | 10 | |||||
| Obs 2 | 15 | 38 | Correlation coefficient (r) | 0.978 | |||||
| Obs 3 | 12 | 33 | Coefficient of determination (r-squared) | 96% | |||||
| Obs 4 | 32 | 65 | Standard error of the estimate | 3.469 | |||||
| Obs 5 | 17 | 40 | |||||||
| Obs 6 | 8 | 18 | REGRESSION EQUATION | ||||||
| Obs 7 | 10 | 25 | Slope | 2.017 | |||||
| Obs 8 | 16 | 35 | Intercept | 5.134 | |||||
| Obs 9 | 20 | 50 | Sales = 5.134 + 2.017 (Ads) | ||||||
| Obs 10 | 5 | 12 | |||||||
| Obs 11 | PREDICTING WITH THE REGRESSION EQUATION | ||||||||
| Obs 12 | X value | 20 | |||||||
| Obs 13 | Confidence Level | 95% | |||||||
| Obs 14 | Predicted Y value | 45.477 | |||||||
| Obs 15 | Confidence Interval | 45.477 | + | 2.978 | |||||
| Obs 16 | Prediction Interval | 45.477 | + | 8.535 | |||||
| Obs 17 | |||||||||
| Obs 18 | HYPOTHESIS TEST FOR CORRELATION | ||||||||
| Obs 19 | Null hypothesis: Slope = 0 (no correlation) | ||||||||
| Obs 20 | Level of Significance | 0.05 | |||||||
| Obs 21 | t-Statistic (computed) | 13.3189 | |||||||
| Obs 22 | p-value | 0.0000 | |||||||
| Obs 23 | Decision | Reject the null hypothesis | |||||||
| Obs 24 | Conclusion | Conclude that correlation exists. | |||||||
| Obs 25 | |||||||||
| Obs 26 | ANOVA | SS | df | MS | F | F crit | |||
| Obs 27 | Regression | 2134.1544 | 1 | 2134.1544 | 177.3924 | 5.3177 | |||
| Obs 28 | Error | 96.2456 | 8 | 12.0307 | |||||
| Obs 29 | Total | 2230.4000 | 9 | ||||||
| Obs 30 | |||||||||
| Obs 31 | |||||||||
| Obs 32 | CORRELATION GUIDELINES | ||||||||
| Obs 33 | Step 1: input the data (note which is the dependent variable) | ||||||||
| Obs 34 | Step 2: assess the scatter diagram for linearity (if not linear, STOP) | ||||||||
| Obs 35 | Step 3: hypothesis test for correlation (if correlation does not exist, STOP) | ||||||||
| Obs 36 | Step 4: evaluate regression statistics (if correlation is weak, reconsider its value) | ||||||||
| Obs 37 | |||||||||
| Obs 38 | |||||||||
| Obs 39 | |||||||||
| Obs 40 | ©2007 DrJimMirabella.com | ||||||||
| Obs 41 | |||||||||
| Obs 42 | |||||||||
| Obs 43 | |||||||||
| Obs 44 | |||||||||
| Obs 45 | |||||||||
| Obs 46 | |||||||||
| Obs 47 | |||||||||
| Obs 48 | |||||||||
| Obs 49 | |||||||||
| Obs 50 | |||||||||
| Obs 51 | |||||||||
| Obs 52 | |||||||||
| Obs 53 | |||||||||
| Obs 54 | |||||||||
| Obs 55 | |||||||||
| Obs 56 | |||||||||
| Obs 57 | |||||||||
| Obs 58 | |||||||||
| Obs 59 | |||||||||
| Obs 60 | |||||||||
| Obs 61 | |||||||||
| Obs 62 | |||||||||
| Obs 63 | |||||||||
| Obs 64 | |||||||||
| Obs 65 | |||||||||
| Obs 66 | |||||||||
| Obs 67 | |||||||||
| Obs 68 | |||||||||
| Obs 69 | |||||||||
| Obs 70 | |||||||||
| Obs 71 | |||||||||
| Obs 72 | |||||||||
| Obs 73 | |||||||||
| Obs 74 | |||||||||
| Obs 75 | |||||||||
| Obs 76 | |||||||||
| Obs 77 | |||||||||
| Obs 78 | |||||||||
| Obs 79 | |||||||||
| Obs 80 | |||||||||
| Obs 81 | |||||||||
| Obs 82 | |||||||||
| Obs 83 | |||||||||
| Obs 84 | |||||||||
| Obs 85 | |||||||||
| Obs 86 | |||||||||
| Obs 87 | |||||||||
| Obs 88 | |||||||||
| Obs 89 | |||||||||
| Obs 90 | |||||||||
| Obs 91 | |||||||||
| Obs 92 | |||||||||
| Obs 93 | |||||||||
| Obs 94 | |||||||||
| Obs 95 | |||||||||
| Obs 96 | |||||||||
| Obs 97 | |||||||||
| Obs 98 | |||||||||
| Obs 99 | |||||||||
| Obs 100 | |||||||||
| Obs 101 | |||||||||
| Obs 102 | |||||||||
| Obs 103 | |||||||||
| Obs 104 | |||||||||
| Obs 105 | |||||||||
| Obs 106 | |||||||||
| Obs 107 | |||||||||
| Obs 108 | |||||||||
| Obs 109 | |||||||||
| Obs 110 | |||||||||
| Obs 111 | |||||||||
| Obs 112 | |||||||||
| Obs 113 | |||||||||
| Obs 114 | |||||||||
| Obs 115 | |||||||||
| Obs 116 | |||||||||
| Obs 117 | |||||||||
| Obs 118 | |||||||||
| Obs 119 | |||||||||
| Obs 120 | |||||||||
| Obs 121 | |||||||||
| Obs 122 | |||||||||
| Obs 123 | |||||||||
| Obs 124 | |||||||||
| Obs 125 | |||||||||
| Obs 126 | |||||||||
| Obs 127 | |||||||||
| Obs 128 | |||||||||
| Obs 129 | |||||||||
| Obs 130 | |||||||||
| Obs 131 | |||||||||
| Obs 132 | |||||||||
| Obs 133 | |||||||||
| Obs 134 | |||||||||
| Obs 135 | |||||||||
| Obs 136 | |||||||||
| Obs 137 | |||||||||
| Obs 138 | |||||||||
| Obs 139 | |||||||||
| Obs 140 | |||||||||
| Obs 141 | |||||||||
| Obs 142 | |||||||||
| Obs 143 | |||||||||
| Obs 144 | |||||||||
| Obs 145 | |||||||||
| Obs 146 | |||||||||
| Obs 147 | |||||||||
| Obs 148 | |||||||||
| Obs 149 | |||||||||
| Obs 150 | |||||||||
| Obs 151 | |||||||||
| Obs 152 | |||||||||
| Obs 153 | |||||||||
| Obs 154 | |||||||||
| Obs 155 | |||||||||
| Obs 156 | |||||||||
| Obs 157 | |||||||||
| Obs 158 | |||||||||
| Obs 159 | |||||||||
| Obs 160 | |||||||||
| Obs 161 | |||||||||
| Obs 162 | |||||||||
| Obs 163 | |||||||||
| Obs 164 | |||||||||
| Obs 165 | |||||||||
| Obs 166 | |||||||||
| Obs 167 | |||||||||
| Obs 168 | |||||||||
| Obs 169 | |||||||||
| Obs 170 | |||||||||
| Obs 171 | |||||||||
| Obs 172 | |||||||||
| Obs 173 | |||||||||
| Obs 174 | |||||||||
| Obs 175 | |||||||||
| Obs 176 | |||||||||
| Obs 177 | |||||||||
| Obs 178 | |||||||||
| Obs 179 | |||||||||
| Obs 180 | |||||||||
| Obs 181 | |||||||||
| Obs 182 | |||||||||
| Obs 183 | |||||||||
| Obs 184 | |||||||||
| Obs 185 | |||||||||
| Obs 186 | |||||||||
| Obs 187 | |||||||||
| Obs 188 | |||||||||
| Obs 189 | |||||||||
| Obs 190 | |||||||||
| Obs 191 | |||||||||
| Obs 192 | |||||||||
| Obs 193 | |||||||||
| Obs 194 | |||||||||
| Obs 195 | |||||||||
| Obs 196 | |||||||||
| Obs 197 | |||||||||
| Obs 198 | |||||||||
| Obs 199 | |||||||||
| Obs 200 |
&A
This is the measure of the degree of relationship between the X and Y variables. 1 is perfect, .70 to 1.00 is strong, .30 to .69 is moderate, less than .30 is weak, 0 means no correlation. The same rules apply to positive or negative correlations.
Also referred to as ALPHA. This is your tolerance for error; it is the probability of incorrectly rejecting the null hypothesis.
The X-data is the independent variable.
Enter up to 125 paired observations.
Enter the x-value that you want to use to predict the y-value. You should never input an X-value that is beyond the range of the data (i.e., it should be between the smallest and largest X-Data observation).
This is the predicted value using the x-value above and the regression equation.
This estimates the mean value of Y given X.
This estimates the range of values of Y for a given X and should be larger than the confidence interval.
This explains the percent of the variability in Y that can be explained by the regression equation.
This explains the degree of relationship between the dependent and independent variables.
Enter the confidence level to be used in the confidence and prediction intervals.
The X-data is the independent variable from which a prediction is made.
The Y-data is the dependent variable that is being predicted by the regression equation.
Also referred to as ALPHA. This is your tolerance for error; it is the probability of incorrectly rejecting the null hypothesis.
A one unit change in X results in a change in Y equal to the value of the slope.
A p-value is the probability of making a type 1 error if you reject the null hypothesis. In other words, it is the probability you would be making a mistake to reject the null.
A measure of dispersion of the data around the regression line. Similar to standard deviation, for a given prediction you would expect with 95% confidence that the prediction would be with 2 standard errors of the regression line.
ScatterDiagram
| Sales = 5.134 + 2.017 (Ads) | |||||||||
| Sales | |||||||||
| Ads | |||||||||
| r = 0.978 | r-squared = 0.957 |
ScatterDiagram
| 20 |
| 15 |
| 12 |
| 32 |
| 17 |
| 8 |
| 10 |
| 16 |
| 20 |
| 5 |
Sales
48
38
33
65
40
18
25
35
50
12