Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
23 views15 pages

Lecture Lesson 1 (Week 7)

The document contains a dataset of real estate listings with various attributes including price, number of beds, baths, cars, and area. It also includes regression statistics such as multiple R, R square, adjusted R square, and coefficients for different features. The data suggests a correlation between price and area, with a correlation coefficient of approximately 0.57.

Uploaded by

htru0029
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views15 pages

Lecture Lesson 1 (Week 7)

The document contains a dataset of real estate listings with various attributes including price, number of beds, baths, cars, and area. It also includes regression statistics such as multiple R, R square, adjusted R square, and coefficients for different features. The data suggests a correlation between price and area, with a correlation coefficient of approximately 0.57.

Uploaded by

htru0029
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 15

Price Beds Baths Cars Area

1100 3 2 2 331
1239 3 1 1 723
1095 4 2 1 567 Price vs
890 3 1 2 659
4000
1155 4 2 2 785
3500
721 3 1 1 227
1150 3 1 2 838 3000

Price ($000s)
1087 3 2 2 289 2500
870 3 2 2 235 2000
1200 3 2 2 830 1500
1490 4 2 3 766 1000
865 2 1 2 406
500
1710 5 2 4 671
0
1201 5 2 2 745 0 200 400 600
967 3 1 2 647 Are
975 3 2 2 347
1230 4 3 2 421
1301 4 1 3 719
2050 4 3 2 819
1142 4 2 2 239 corr(Price,Area) 0.5659975492764
852 3 1 2 358 stdev(Price) 418.9222371487
1226 4 2 2 656 stdev(Area) 216.97898347997
1180 4 2 2 661
1777 4 2 1 761 slope 1.0927738519221
1340 3 2 1 776
1332 3 1 1 732
1327 6 2 1 770 SUMMARY OUTPUT
1410 3 1 1 957
955 3 1 1 758 Regression Statistics
1000 2 1 1 319 Multiple R 0.5659975492764
858 3 1 1 651 R Square 0.3203532257869
875 3 2 2 706 Adjusted R Square 0.3182747952847
1275 3 1 2 811 Standard Error 345.89006632287
1680 3 2 2 883 Observations 329
830 4 2 2 315
1550 4 2 2 752 ANOVA
980 3 2 2 295 df
1050 3 2 2 295 Regression 1
1274 3 1 2 765 Residual 327
1260 6 3 2 728 Total 328
1028 4 3 2 603
1369 4 2 1 785 Coefficients
988 3 2 2 701 Intercept 539.357177343
975 4 1 1 312 Area 1.0927738519221
1368 4 2 2 793
855 3 2 2 272
1925 5 4 3 950
672 4 3 2 367
1551 3 2 1 806 SUMMARY OUTPUT
612 2 1 1 323
825 3 2 1 209 Regression Statistics
2060 5 3 2 750 Multiple R 0.7773310233453
830 3 2 2 369 R Square 0.6042435198551
1215 4 3 2 743 Adjusted R Square 0.5993576373842
1289 3 1 2 783 Standard Error 265.1623432511
1300 4 1 2 767 Observations 329
1326 3 1 1 722
1383 3 2 2 718 ANOVA
668 2 1 1 289 df
1351 3 2 2 712 Regression 4
1200 2 2 1 324 Residual 324
1030 4 2 2 366 Total 328
717 3 1 1 439
713 3 1 1 210 Coefficients
1140 3 1 2 766 Intercept 86.841347117907
1934 5 2 2 876 Beds 47.426191890927
1325 3 1 1 762 Baths 216.5331552218
941 6 2 4 732 Cars 14.544475008275
984 4 2 2 348 Area 0.8312665501392
570 2 1 1 192
1269 4 3 2 421
1240 3 1 2 709
505 2 1 1 160
980 3 3 2 744
1120 5 2 2 690
1326 4 2 2 447
1388 4 2 1 743
1065 3 1 2 747
550 2 1 1 165
950 4 2 1 640
678 3 1 1 310
1160 3 1 1 857
2065 5 2 2 720
1025 3 1 2 729
1400 4 3 2 764
1785 5 2 2 754
670 3 1 2 367
780 3 2 2 273
572 2 1 1 152
1008 4 3 2 287
1100 3 1 2 730
927 5 2 2 653
670 3 1 1 289
1576 3 1 2 888
850 4 2 2 322
1625 5 3 2 346
1416 4 2 1 735
1400 3 2 1 752
945 3 2 2 390
1112 4 1 1 651
1406 4 2 2 671
1250 3 1 2 724
960 3 1 2 760
1438 4 3 2 674
900 3 2 1 321
925 3 2 1 277
1040 3 1 2 720
1680 3 1 2 729
1205 4 3 2 445
1240 4 3 1 743
1450 4 2 2 761
1215 4 2 3 730
2000 5 5 2 721
1208 4 2 2 654
1580 4 2 2 728
1310 3 1 2 780
650 2 1 2 282
1200 4 2 2 670
1430 3 2 2 776
555 2 1 1 133
1730 4 2 2 830
1250 3 2 2 730
860 4 2 2 588
1385 3 1 2 757
700 2 1 2 292
1120 3 1 1 725
1120 4 2 2 651
1350 5 3 2 452
1095 3 1 1 688
1150 3 2 2 649
650 2 1 1 394
918 5 2 2 745
621 2 1 1 260
572 2 1 1 219
1035 3 2 1 723
2500 5 4 2 727
1205 4 1 2 846
855 3 1 1 675
985 3 2 1 780
2710 5 5 2 711
1100 3 1 2 730
2570 5 5 2 721
993 4 1 2 657
850 3 2 2 315
1068 4 2 2 689
2120 5 5 2 842
810 3 1 2 728
1850 4 2 2 677
940 4 2 2 237
971 3 1 2 729
1055 3 2 2 727
1030 2 1 1 722
800 3 2 2 254
1350 5 2 2 745
740 2 1 1 446
1580 2 2 1 743
1101 3 2 1 724
1103 4 2 2 781
758 2 1 2 363
1300 3 2 1 756
1260 3 2 2 670
828 3 2 2 300
1225 3 2 2 760
803 3 2 2 262
988 2 1 1 221
1100 4 2 2 731
1081 4 1 2 735
1240 5 2 2 230
1300 6 3 6 787
781 3 2 1 239
1180 4 3 2 324
905 5 2 1 672
1250 4 2 2 687
920 4 2 2 342
1330 3 2 3 774
1750 5 2 3 740
1227 4 3 2 680
1245 4 2 2 730
1100 3 2 1 650
951 4 2 1 363
963 4 3 2 643
995 4 3 2 725
1100 3 1 2 772
795 4 2 2 744
1352 4 2 2 765
1290 4 3 2 650
1100 3 1 2 745
1015 3 1 2 732
1502 5 2 1 740
920 3 2 2 349
958 4 2 1 861
1100 4 3 2 772
958 3 1 1 735
1450 4 2 2 815
1210 4 2 2 364
785 3 1 1 385
1280 3 2 2 397
1500 4 1 2 716
965 3 1 1 668
1100 3 1 1 731
740 3 1 2 351
1140 4 2 1 727
1308 3 1 1 800
721 3 2 2 312
1700 5 2 3 725
920 3 2 2 272
1385 5 2 2 730
1039 4 2 2 334
636 2 1 1 315
1350 4 2 2 650
902 3 2 1 663
2402 4 4 5 708
1167 3 2 2 362
1100 3 1 2 795
2370 5 5 2 732
1328 3 2 2 722
1100 3 2 2 770
1280 4 2 1 783
1428 3 1 3 822
1285 3 2 1 680
1360 4 2 2 757
645 2 1 1 345
1182 4 3 2 725
1150 3 1 2 665
3080 5 3 4 846
1450 4 3 2 847
790 4 2 1 321
1005 5 3 4 700
1622 4 2 2 751
860 4 1 2 647
1300 3 1 1 705
980 3 2 2 707
682 3 1 1 327
910 3 2 2 297
1500 4 3 2 1076
1688 4 3 2 708
1268 4 2 3 680
849 4 2 2 664
1376 5 3 3 816
1230 5 2 2 810
1288 4 2 2 782
1300 3 2 2 823
2111 5 6 3 700
1020 3 1 1 648
1220 3 2 2 730
1500 4 2 2 726
1175 3 1 1 716
1525 3 2 2 760
1520 4 3 2 728
980 3 1 2 740
1350 5 3 2 731
1210 4 3 2 742
1000 3 1 1 688
1285 3 1 1 716
1056 4 2 2 849
1250 4 3 1 369
1150 2 1 1 954
555 2 1 1 348
839 3 2 2 240
1400 5 2 2 773
750 2 1 1 235
1050 3 2 2 250
1400 4 3 2 630
970 3 1 2 741
1405 4 2 2 965
1448 3 1 2 728
1745 5 3 2 760
1200 3 1 1 725
3000 8 4 4 1467
680 2 1 1 160
1310 6 2 2 650
1640 5 5 2 620
805 2 1 1 320
1391 4 2 2 675
902 3 2 2 327
3700 6 5 3 731
1550 4 2 2 960
1500 4 3 2 649
1078 3 1 4 721
790 3 2 1 228
1446 5 2 2 1055
1555 4 3 2 1076
980 3 1 2 702
1530 4 3 2 475
1350 4 2 2 727
1235 4 1 2 864
1275 4 2 4 1035
1050 3 1 2 717
1605 4 1 2 687
1085 3 2 2 724
1070 3 2 2 283
1325 4 2 2 695
1486 5 3 3 702
1190 5 2 3 681
1805 5 2 2 960
1060 3 2 2 724
995 3 1 1 691
940 4 2 2 303
1481 3 1 3 722
1310 3 2 2 440
1200 3 2 2 420
980 3 2 2 299
1355 3 1 1 831
1240 4 2 1 648
890 3 1 2 292
1028 4 1 2 725
931 3 1 2 658
1265 3 2 2 791
1460 5 3 2 733
850 2 2 2 260
1160 4 2 1 780
1210 3 2 2 312
1301 4 3 3 766
1790 3 1 1 872
2550 5 3 2 766
1320 4 3 2 730
1300 5 3 2 400
1780 5 3 2 848
1175 6 2 2 652
1325 5 3 4 812
2580 5 4 2 739
740 2 1 1 196
1350 6 3 2 660
2200 5 5 2 722
1495 3 1 1 733
1472 4 2 2 750
937 4 1 6 700
1110 4 2 1 724
730 3 1 1 350
Price vs Area

200 400 600 800 1000 1200 1400 1600


Area (sqm)

SS MS F Significance F
18440376.0553407 18440376 154.1323 2.931E-29
39122259.7197353 119639.9
57562635.775076

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


Upper 95.0%
57.7009257516799 9.347461 1.453E-18 425.8453 652.869 425.8453 652.869
0.0880204323606567 12.415 2.931E-29 0.919616 1.265932 0.919616 1.265932
SS MS F Significance F
34781849.6528705 8695462 123.6713 6E-64
22780786.1222055 70311.07
57562635.775076

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


Upper 95.0%
61.9960957069556 1.400755 0.162244 -35.12436 208.8071 -35.12436 208.8071
22.8663206285461 2.074063 0.038863 2.440987 92.4114 2.440987 92.4114
21.4081194781118 10.11453 4.425E-21 174.4167 258.6496 174.4167 258.6496
22.7739893009646 0.638644 0.523506 -30.25909 59.34804 -30.25909 59.34804
0.0757397509333979 10.9753 4.855E-24 0.682263 0.98027 0.682263 0.98027
Price on Area

SUMMARY OUTPUT

Regression Statistics
Multiple R 0.565997549
R Square 0.320353226
Adjusted R Square 0.318274795
Standard Error 345.8900663
Observations 329

ANOVA
df SS MS F Significance F
Regression 1 18440376.0553 18440376.06 154.132277 2.931403E-29
Residual 327 39122259.7197 119639.938
Total 328 57562635.7751

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


Intercept 539.3571773 57.7009257517 9.34746142 1.4529E-18 425.84531355 652.8690411
Area 1.092773852 0.08802043236 12.41500209 2.9314E-29 0.9196160871 1.265931617

Price on Beds

SUMMARY OUTPUT

Regression Statistics
Multiple R 0.599418355
R Square 0.359302364
Adjusted R Square 0.357343044
Standard Error 335.8327303
Observations 329

ANOVA
df SS MS F Significance F
Regression 1 20682391.1333 20682391.13 183.381156 1.786761E-33
Residual 327 36880244.6417 112783.6228
Total 328 57562635.7751

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


Intercept 261.5014227 72.8379828904 3.590179358 0.00038111 118.21125729 404.791588
Beds 264.8548793 19.5582784526 13.54182987 1.78676E-33 226.37895172 303.3308068

Price on Baths
SUMMARY OUTPUT

Regression Statistics
Multiple R 0.618441036
R Square 0.382469315
Adjusted R Square 0.380580841
Standard Error 329.7051501
Observations 329

ANOVA
df SS MS F Significance F
Regression 1 22015941.8459 22015941.85 202.528342 4.203409E-36
Residual 327 35546693.9292 108705.486
Total 328 57562635.7751

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


Intercept 661.0005847 42.9925539339 15.37476898 1.59662E-40 576.42369343 745.5774761
Baths 288.1797909 20.2497944055 14.23124527 4.20341E-36 248.34348193 328.0160998

Price on Cars

SUMMARY OUTPUT

Regression Statistics
Multiple R 0.348931359
R Square 0.121753094
Adjusted R Square 0.119067323
Standard Error 393.1920915
Observations 329

ANOVA
df SS MS F Significance F
Regression 1 7008428.97693 7008428.977 45.3326522 7.479301E-11
Residual 327 50554206.7981 154600.0208
Total 328 57562635.7751

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


Intercept 845.0003486 59.1383791263 14.28852737 2.53403E-36 728.66066166 961.3400355
Cars 200.4636272 29.7735088504 6.732952712 7.4793E-11 141.8918376 259.0354167
Intercept Slope
Area 539.357 1.093
Beds 261.501 264.855
Baths 661.001 288.180
Cars 845.000 200.464
SUMMARY OUTPUT

Regression Statistics
Multiple R 0.777331023
R Square 0.60424352
Adjusted R Square 0.599357637
Standard Error 265.1623433
Observations 329

ANOVA
df SS MS F Significance F
Regression 4 34781849.6529 8695462.413 123.671317 6.004582E-64
Residual 324 22780786.1222 70311.06828
Total 328 57562635.7751

Coefficients Standard Error t Stat P-value Lower 95%


Intercept 86.84134712 61.996095707 1.400755098 0.162244312 -35.12436376
4 Beds 47.42619189 22.8663206285 2.074063102 0.038862943 2.4409872766
2 Baths 216.5331552 21.4081194781 10.11453413 4.424913E-21 174.41668835
2 Cars 14.54447501 22.773989301 0.638644149 0.523505634 -30.25908501
50 Area 0.83126655 0.07573975093 10.97530081 4.85461E-24 0.6822627708
Upper 95% Lower 95.0% Upper 95.0%
208.807058 -35.12436376 208.807058
92.41139651 2.4409872766 92.411396505
258.6496221 174.41668835 258.64962209
59.34803502 -30.25908501 59.348035023
0.980270329 0.6822627708 0.9802703295
Simple Multiple
Intercept Slope Intercept Slope
Area 539.357 1.093 0.831
Beds 261.501 264.855 47.426
86.841
Baths 661.001 288.180 216.533
Cars 845.000 200.464 14.544

You might also like