0% found this document useful (0 votes)
21 views

Regression Analysis

The document contains regression analysis results for predicting home prices based on features like square footage, size of garage, and number of bedrooms. A multiple linear regression model was created using variables for square footage (X1), size of garage (X2), and number of bedrooms (X3) to predict price (Y). The regression results show that this multiple linear regression model fits the data very well, with an R-squared value of 0.94, and all predictor variables are statistically significant in explaining home prices.

Uploaded by

BISHAL Adhikari
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views

Regression Analysis

The document contains regression analysis results for predicting home prices based on features like square footage, size of garage, and number of bedrooms. A multiple linear regression model was created using variables for square footage (X1), size of garage (X2), and number of bedrooms (X3) to predict price (Y). The regression results show that this multiple linear regression model fits the data very well, with an R-squared value of 0.94, and all predictor variables are statistically significant in explaining home prices.

Uploaded by

BISHAL Adhikari
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 11

Obs. No. of Ads Sales Est. Sales Err Sq.

Err
1 30 184.4 202.8522737 -18.45227373 340.4864058
2 40 279.1 258.3548746 20.74512542 430.3602287
3 40 244 258.3548746 -14.35487458 206.0624242
4 50 314.2 313.8574754 0.3425245701 0.117323081
5 60 382.2 369.3600763 12.83992372 164.8636411
6 70 450.2 424.8626771 25.33732287 641.9799302
7 70 423.6 424.8626771 -1.26267713 1.594353535
8 70 410.2 424.8626771 -14.66267713 214.9941006
9 80 500.4 480.365278 20.03472202 401.3900864
10 90 505.3 535.8678788 -30.56787883 934.3952162

Intercept 36.34447118 Sum Sq. Err 3336.24371


Slope 5.550260085
Sales
600

500 f(x) = 5.55029411764706 x + 36.3423529411764


R² = 0.969130532944232
400
Sales

300

200

100

0
20 30 40 50 60 70 80 90 100
No. of Ads

SUMMARY OUTPUT

Regression Statistics
Multiple R 0.984444276
R Square 0.969130533
Adjusted R Square 0.96527185
Standard Error 20.42132374
Observations 10

ANOVA
df SS MS F Significance F
Regression 1 104739.600294 104739.6003 251.1557537 2.514252E-07
Residual 8 3336.24370588 417.0304632
Total 9 108075.844

Coefficients Standard Error t Stat P-value Lower 95% Upper 95%


Intercept 36.34235294 21.9832825865 1.653181357 0.136894007 -14.35118761 87.03589349
X Variable 1 5.550294118 0.35022281279 15.8478943 2.514252E-07 4.7426788631 6.357909372
90 100

Lower 95.0% Upper 95.0%


-14.35118761 87.035893491
4.7426788631 6.3579093722
Obs Sq.Feet Size of garage Bedrooms Sq.Feet Price
1 1 0 2 1 $ 65.00
2 1.1 0 2 1.1 $ 73.00
3 1.15 1 2 1.15 $ 85.00
4 1.4 0 3 1.4 $ 87.00
5 1.7 1 3 1.7 $ 98.00
6 1.9 0 3 1.9 $ 95.00
7 2.1 2 4 2.1 $ 125.00
8 1.8 1 4 1.8 $ 105.00
9 1.9 1 4 1.9 $ 125.00
10 2.1 2 4 2.1 $ 137.00
11 2.3 2 4 2.3 $ 150.00

X1-Y

Regression Statistics
Multiple R 0.932676854
R Square 0.869886115
Adjusted R Square 0.855429016
Standard Error 10.2990493
Observations 11

ANOVA
df SS MS F Significance F
Regression 1 6382.27534232 6382.275342 60.17017329 2.8298E-05
Residual 9 954.633748584 106.0704165
Total 10 7336.90909091

Coefficients Standard Error t Stat P-value Lower 95%


Intercept 9.502604757 12.5831961148 0.755182123 0.469440432 -18.96256247
X Variable 1 56.39411099 7.27014585027 7.756943553 2.8298E-05 39.947898476

X2-Y
SUMMARY OUTPUT

Regression Statistics
Multiple R 0.870944413
R Square 0.75854417
Adjusted R Square 0.731715745
Standard Error 14.02988665
Observations 11
ANOVA
df SS MS F Significance F
Regression 1 5565.36961722 5565.369617 28.2738981 0.0004826878
Residual 9 1771.53947368 196.8377193
Total 10 7336.90909091

Coefficients Standard Error t Stat P-value Lower 95%


Intercept 78.28947368 6.437353482 12.16174844 6.869376E-07 63.727168395
X Variable 1 28.38157895 5.33757153567 5.317320575 0.000482688 16.307153266

X3-Y
SUMMARY OUTPUT

Regression Statistics
Multiple R 0.890652301
R Square 0.793261521
Adjusted R Square 0.770290579
Standard Error 12.98213058
Observations 11

ANOVA
df SS MS F Significance F
Regression 1 5820.08766234 5820.087662 34.53326013 0.0002358509
Residual 9 1516.82142857 168.5357143
Total 10 7336.90909091

Coefficients Standard Error t Stat P-value Lower 95%


Intercept 16.25 15.4518260594 1.051655638 0.320373637 -18.704459
X Variable 1 27.60714286 4.69788814908 5.87650067 0.000235851 16.979781531

X1,X2,X3, Y
SUMMARY OUTPUT

Regression Statistics
Multiple R 0.970833302
R Square 0.942517301
Adjusted R Square 0.917881858
Standard Error 7.762044452
Observations 11

ANOVA
df SS MS F Significance F
Regression 3 6915.1637524 2305.054584 38.25859023 0.000103625
Residual 7 421.745338506 60.24933407
Total 10 7336.90909091

Coefficients Standard Error t Stat P-value Lower 95% Upper 95%


Intercept 26.44037042 11.5279595279 2.293586333 0.055513321 -0.818922254 53.699663088
X Variable 1 30.80340383 14.6587855099 2.101361249 0.073722865 -3.859115886 65.465923545
X Variable 2 12.56745088 4.45914105704 2.818356881 0.025834115 2.023257797 23.111643967
X Variable 3 4.575960456 7.14301678389 0.640620146 0.54216428 -12.31459026 21.466511172
$160.00
$140.00
$120.00
$100.00

Price
$80.00
$60.00
$40.00
$20.00
$-
0.8 1

X1,X2 - Y
SUMMARY OUTPUT

Regression Statistics
Multiple R 0.969096084
R Square 0.93914722
Adjusted R Square 0.923934025
Standard Error 7.47053641
Observations 11

ANOVA
df SS
Regression 2 6890.43777686
Residual 8 446.471314049
Total 10 7336.90909091
Upper 95% Lower 95.0% Upper 95.0%
37.96777198 -18.96256247 37.967771978 Coefficients Standard Error
72.8403235 39.947898476 72.840323495 Intercept 27.68354945 10.9366881563
X Variable 1 38.57623111 7.91685102197
X Variable 2 12.8749492 4.26673855792

Regression Statistics
Multiple R 0.918452052
R Square 0.843554171
Adjusted R Square 0.826171302
Standard Error 0.186773283
Observations 11
ANOVA
df SS
Regression 1 1.69285984848
Residual 9 0.31395833333
Total 10 2.00681818182

Upper 95% Lower 95.0% Upper 95.0% Coefficients Standard Error


92.85177897 63.727168395 92.851778973 Intercept 0.179166667 0.2223046722
40.45600463 16.307153266 40.456004629 X Variable 1 0.470833333 0.06758828898

X1, X3, Y
SUMMARY OUTPUT

Regression Statistics
Multiple R 0.936637469
R Square 0.877289748
Adjusted R Square 0.846612185
Standard Error 10.6084516
Observations 11

ANOVA
df SS
Regression 2 6436.5951275
Residual 8 900.313963409
Total 10 7336.90909091

Upper 95% Lower 95.0% Upper 95.0% Coefficients Standard Error


51.204459 -18.704459 51.204458999 Intercept 8.310550763 13.0742946912
38.23450418 16.979781531 38.234504184 X Variable 1 6.743008816 9.70569646412
X Variable 2 44.31320504 18.9328499071
Lower 95.0% Upper 95.0%
-0.818922254 53.699663088
-3.859115886 65.465923545
2.023257797 23.111643967
-12.31459026 21.466511172
Price
$160.00
$140.00
$120.00
$100.00
Price

$80.00
$60.00
$40.00
$20.00
$-
0.8 1 1.2 1.4 1.6 1.8 2 2.2 2.4
Sq. Feet

MS F Significance F
3445.218888 61.73241201 1.371266E-05
55.80891426

t Stat P-value Lower 95% Upper 95% Lower 95.0% Upper 95.0%
2.531255262 0.035186595 2.4635013338 52.90359756 2.4635013338 52.903597562
4.872673618 0.001235776 20.319939919 56.83252231 20.319939919 56.832522308
3.017515376 0.016622231 3.0358324455 22.71406596 3.0358324455 22.714065962
MS F Significance F
1.692859848 48.5279001 6.565634E-05
0.034884259

t Stat P-value Lower 95% Upper 95% Lower 95.0% Upper 95.0%
0.805950972 0.441045301 -0.32372144 0.682054773 -0.32372144 0.6820547732
6.966196961 6.565634E-05 0.3179380013 0.623728665 0.3179380013 0.6237286654

MS F Significance F
3218.297564 28.5971134 0.0002267375
112.5392454

t Stat P-value Lower 95% Upper 95% Lower 95.0% Upper 95.0%
0.635640465 0.542761777 -21.83882686 38.45992839 -21.83882686 38.459928386
0.694747548 0.506885853 -15.63836737 29.124385 -15.63836737 29.124384997
2.340545943 0.047375296 0.6539748662 87.97243522 0.6539748662 87.97243522

You might also like