Professional Documents
Culture Documents
Regression Testing
Regression Testing
Q2: Regression:
SUMMARY OUTPUT
Regression Statistics
Multiple R 0.997880654505
R Square 0.995765800634
Adjusted R Square 0.995356039406
Standard Error 2.307791531967
Observations 35
ANOVA
df SS MS F Significance F
Regression 3 38827.618018737 12942.54 2430.11229551562 7.44727123E-37
Residual 31 165.10295440558 5.325902
Total 34 38992.720973143
F value is used to understand the influence of Independent variable on dependent variable. As F (7.44727E-
37)< P (0.05). Thus we say atleast one regression coefficient is non-zero
Q4: Check the P Values for Individual Independent Variables and identify the Significant
P- Values
Variables
Price 0.003833462977
Mileage 5.78356376E-38
Top Speed 0.547763026124
P Values for Price and Mileage < 0.05, thus we can say the regression coefficients are non zeroes, they're significant variables.
P Values for Top Speed> 0.05, thus we can say the regression coefficient is zero, they're insignificant variables.
Q5: Use Intercept, Significant β values and Variable Names to create regression equation.
Specifications Rocinante 36
Price 7 Lakh
Manufacturing cost 6 lakh
Mileage 22kmpl
Top Speed 140kmph
New Price 8 lakh
SUMMARY OUTPUT
Regression Statistics
Multiple R 0.9978553735369
R Square 0.9957153464965
Adjusted R Square 0.9954475556525
Standard Error 2.2849391302616
Observations 35
ANOVA
df SS MS F
Regression 2 38825.65 19412.8253373074 3718.257621295
Residual 32 167.0703 5.2209468290004
Total 34 38992.72
Significance F
1.2902E-38
Q2: Regression:
SUMMARY OUTPUT
Regression Statistics
Multiple R 0.929025133176
R Square 0.863087698072
Adjusted R Sq 0.84787522008
Standard Erro 2.306730395122
Observations 31
ANOVA
df SS MS F Significance F
Regression 3 905.669817744951 301.889939 56.73551005 8.745E-12
Residual 27 143.667138126017 5.32100512
Total 30 1049.33695587097
P Values for Price and Top Speed< 0.05, thus we can say the regression coefficients are non zeroes, they're significant variable
P Values for Mileage> 0.05, thus we can say the regression coefficient is zero, they're insignificant variables.
Q4: Use Intercept, Significant β values and Variable Names to create regression equation.
SpecificationsMarengo 32
Price 41 Lakh
Manufacturing33 lakh
Mileage 15 kmpl
Top Speed 210 kmph
New Price 42 lakh
Y (Sales) = -13.44765+(-0.18673) x Price +
Final Regression equation:
0.0413011 x Top Speed
SUMMARY OUTPUT
Regression Statistics
Multiple R 0.928916104246107
R Square 0.862885128727765
Adjusted R Square 0.853091209351177
Standard Error 2.26683937947473
Observations 31
ANOVA
df SS MS F Significance F
Regression 2 905.457254 452.7286271 88.10417 8.302E-13
Residual 28 143.879702 5.138560772
Total 30 1049.33696
-0.072978
0.465292
0.256141
-0.285517 -0.079431
0.186117 0.254163