Regression Analysis
Regression Analysis
Sales Price
Cars (Km/ speed
(in 1,000 units) (in lakh rupees)
ltr) (Km/hr)
Specifications
Rocinante 1 171.877 6.1 15.8 168.2 Price
Rocinante 2 139.796 6.1 12.1 149.6 Manufacturing cost
Rocinante 3 178.947 9.9 17 173.4 Mileage lm/ltr
Rocinante 4 140.022 5.8 11.6 170.6 Top speed km/hr
Rocinante 5 186.476 10 17.2 175
Rocinante 6 192.123 6.5 17.6 173.1
Rocinante 7 175.085 5.5 16 184.6
Rocinante 8 146.882 8.4 13 175.7
Rocinante 9 202.847 6.6 19.3 166.7 Regression Analysis
Rocinante 10 149.933 8.8 13.3 175.4 It has been noted that the dependent V
The multiple Regression Equation ->
Rocinante 11 171.579 9.5 15.8 150.9
Rocinante 12 201.512 9.2 19.2 140.5 Confidence Level = 95% ( Significan
Rocinante 13 142.604 8.1 11.7 150.2
Rocinante 14 135.158 5.4 11.2 146.2
Rocinante 15 107.322 5.6 7.8 151.2
Rocinante 16 199.699 6.3 19 143.2
Rocinante 17 202.875 5.8 19.7 178.9
Rocinante 18 204.406 7.7 19.5 168.2 SUMMARY OUTPUT
Rocinante 19 107.331 7.2 7.5 164.7
Rocinante 20 190.345 8.4 18.1 182.7 Regression Statistics
Rocinante 21 108.419 8.4 7.9 165.7 Multiple R
Rocinante 22 150.249 5.7 12.6 137 R Square
Rocinante 23 155.882 5.5 12.9 173.9 Adjusted R Square
Rocinante 24 100.98 8.4 7.6 165.1 Standard Error
Rocinante 25 182.679 5.6 16.7 160.1 Observations
Rocinante 26 166.752 9.9 15.5 155.6
Rocinante 27 121.561 6.2 9.5 155.4 ANOVA
Rocinante 28 174.256 9.9 16.3 161.9
Rocinante 29 119.018 6.5 9.1 146.8 Regression
Rocinante 30 169.842 7.1 15.3 149.5 Residual
Rocinante 31 198.311 9.6 19.1 146.5 Total
Rocinante 32 204.875 5.8 19.4 178.9
Rocinante 33 119.561 6.2 9.4 175.4
Rocinante 34 203.875 5.9 19.4 175.9 Intercept
Price
Rocinante 35 118.561 6.1 9.4 165.4 (in lakh rupees)
Mileage
(Km/ltr)
Top speed (Km/hr)
Observations
Hypothesis Testing
Calculations
ANOVA
Regression
Residual
Total
Intercept
Price
(in lakh rupees)
Mileage
(Km/ltr)
Rocinante36 Marengo32
₹ 700,000 ₹ 4,100,000
₹ 600,000 ₹ 3,300,000
22 15
140 210
n Analysis
n noted that the dependent Variable here is Sales (in 1000 Units ) where as the independent variables are Price(in lakh rupees), Mileage (Km
ple Regression Equation -> Sales = Constant + b1*Price + b2*Mileage + b3*Top speed
RY OUTPUT
egression Statistics
0.9978806545
0.9957658006
0.9953560394
2.307791532
35
df SS MS F Significance F
3 38827.6180187373 12942.53934 2430.1122955 7.447271E-37
31 165.102954405579 5.325901755
34 38992.7209731429
The R-square and the adjusted R Square valures are very high which shows that the fitness of the regression line is really good
For the p-value less than 0.05 the variables will be significant and impactful else there wont be any impact, considering that the
Milage are the only variables having an impact on the Sales.
Sales = Inercept + b1*Price + b2*Mileage + b3*Top speed
The Overall
Test The null Hypothesis H0 would be: None of the independent variables has any significant influence
on the dependent varibales.
The Alternate Hypothese Ha is: At least one independent variable has a significant
influence on the dependent variable. level.
The null Hypothesis H0 would be: The independent variable( X1, X2, X3 ) doesn’t have a significant influence
the dependent variable.
The individual The Alternate Hypothesis Ha would be that : The independent variable ( X1, X2, X3 ) has a significant influenc
Significance dependent variab
Test
Sales
Profit = Price ( in 1000 unitscost
- Manufacturing ) (in Lakhs) ₹ 227.90 ( using the price as 7 and mileage as 22 )
( in Lakhs)
Overall Projected Profit = sales * profit ₹ 1
( in crores ) ₹ 2,278.97
Suppose increasing the price of Rocinante36 and Marengo32 by ₹1 lakh each. Then the below changes can be observed.
Sales ( in 1000
[ sales units
* profit ] ) ₹ 227.90
New Overall Projected Profit = salescost
Profit = Price - Manufacturing * profit ₹ 2
( in crores ) 4557.9445225
oping the insignificant regression variables ( Top speed ) and rebuilding the regression model using only significant variables.
df SS MS F Significance F
2 38825.6506746148 19412.825337 3718.2576213 1.290183E-38
32 167.070298528013 5.220946829
34 38992.7209731429
OBSERVATIONS :
adjusted R-squared value for old regression model 0.9953560394
adjusted R-squared value for new regression model 0.9954475557
There is a slight increase by 0.0001 in the Adjusted R square value in the new regression model this can be
due to the dropping of the insignificant variables.
e(in lakh rupees), Mileage (Km/ltr), Top speed (Km/hr)
=> The value is less than 0.05, hence it is significant and the regression is possible
237939 *Mileage
gnificant influence
nt
Significant
) it can be said that the intercept, Price and Milage are significant.
237939 *Mileage
s 7 and mileage as 22 )
gnificant variables.
Upper 95% Lower 95.0% Upper 95.0%
52.084903318 43.47502472 52.084903318
Intercept
Price
(in lakh rupees)
Top speed (Km/hr)
Mileage
(Km/ltr)
Observations
Hypothesis Testing
Rocinante36 Marengo32
₹ 700,000 ₹ 4,100,000
₹ 600,000 ₹ 3,300,000
22 15
140 210
on Analysis
n noted that the dependent Variable here is Sales (in 1000 Units ) where as the independent variables are Price(in lakh rupees), Mileage
ple Regression Equation -> Sales = Constant + b1*Price + b2*Mileage + b3*Top speed
RY OUTPUT
Regression Statistics
0.929025133175836
0.863087698072379
0.847875220080421
2.30673039512172
31
df SS MS
3 905.669817744951 301.889939248
27 143.667138126017 5.32100511578
30 1049.33695587097
The R-square and the adjusted R Square valures are high which shows that the fitness of the regression line is really good w
For the p-value less than 0.05 the variables will be significant and impactful else there wont be any impact, considering that
Sales.
Sales = Inercept + b1*Price +
The individual Significance Test The null Hypothesis H0 would be: The independent varia
the dependent variable.
The Alternate Hypothesis Ha would be that : The indepen
dependent variab
P-value
Intercept 0.0055
Price
(in lakh rupees) 0.0023
Top speed (Km/hr) 0.0000
Mileage
(Km/ltr) 0.8431
On comparing each of the p-values for the independent variables individually with the critical value ( 0.05
Calculations
Equation : Sales = -13.4476488883451
Sales (=inPrice
Profit 1000- units )
Manufacturing cost
(profit
in Lakhs)
( in crores )
Sales (=inPrice
Profit 1000- units )
Manufacturing cost
(* in Lakhs)
profit
( in crores )
Droping the insignificant regression variables ( Mileage ) and rebuilding the regression m
Regression Statistics
Multiple R 0.92891610424611
R Square 0.86288512872777
Adjusted R Square 0.85309120935118
Standard Error 2.26683937947473
Observations 31
ANOVA
df SS
Regression 2 905.457254246
Residual 28 143.879701625
Total 30 1049.33695587
OBSERVATIONS :
adjusted R-squared value for old regression m
adjusted R-squared value for new regression
F Significance F
56.73551005488 8.74488158910387E-12 => The value is less than 0.05, hence it is significant and the
would be: The independent variable( X1, X2, X3 ) doesn’t have a significant influence on
Ha would be that : The independent variable ( X1, X2, X3 ) has a significant influence on the
Rejected Significant
Rejected Significant
rice of Rocinante36 and Marengo32 by ₹1 lakh each. Then the below changes can be observed.
₹ 25.26
₹ 9
2274
MS F Significance F
452.7286271228 88.1041690817304 8.302021E-13
5.138560772337
t Stat P-value Lower 95% Upper 95% Lower 95.0%
-3.51136299898 0.0015305489196346 -20.536455242 -5.4038074814 -20.536455242
e is a increase by 0.01 in the Adjusted R square value in the new regression model this can be due to the
ping of the insignificant variables.
ce it is significant and the regression is possible
Upper 95.0%
-5.4038074814
-0.0794307884
0.2541630879