+ read.table("C:/Users/Rizwan Bajwa/Desktop/BDA_Data/Admission_Predict.csv",
+ header=TRUE, sep=",", na.strings="NA", dec=",", strip.white=TRUE)
> summary(RegModel.3)
Call:
lm(formula = Chance.of.Admit ~ CGPA + GRE.Score + TOEFL.Score,
data = Dataset)
Residuals:
Min 1Q Median 3Q Max
-0.290375 -0.023030 0.008255 0.040153 0.143108
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -1.5856984 0.1058153 -14.986 < 2e-16 ***
CGPA 0.1462844 0.0111770 13.088 < 2e-16 ***
GRE.Score 0.0022660 0.0005929 3.822 0.000154 ***
TOEFL.Score 0.0031123 0.0011070 2.812 0.005176 **
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
> summary(RegModel.4)
Call:
lm(formula = Chance.of.Admit ~ CGPA + GRE.Score + TOEFL.Score,
data = Dataset, subset = University.Rating == 1)
Residuals:
Min 1Q Median 3Q Max
-0.090780 -0.031611 -0.007144 0.027422 0.095338
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -1.183904 0.402945 -2.938 0.00761 **
CGPA 0.144904 0.027262 5.315 0.0000246 ***
GRE.Score 0.001200 0.001499 0.801 0.43172
TOEFL.Score 0.002480 0.003068 0.808 0.42762
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
> summary(RegModel.5)
Call:
lm(formula = Chance.of.Admit ~ CGPA + GRE.Score + TOEFL.Score,
data = Dataset, subset = University.Rating == 2)
Residuals:
Min 1Q Median 3Q Max
-0.22619 -0.03799 0.01115 0.05504 0.13891
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -1.361832 0.289565 -4.703 0.00000799 ***
CGPA 0.134968 0.030246 4.462 0.00002077 ***
GRE.Score 0.001134 0.001444 0.785 0.4342
TOEFL.Score 0.005147 0.002611 1.971 0.0514 .
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
> summary(RegModel.6)
Call:
lm(formula = Chance.of.Admit ~ CGPA + GRE.Score + TOEFL.Score,
data = Dataset, subset = University.Rating == 3)
Residuals:
Min 1Q Median 3Q Max
-0.28962 -0.02098 0.01592 0.04218 0.10829
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -1.36987201 0.25597905 -5.352 0.0000003856 ***
CGPA 0.13108069 0.02222934 5.897 0.0000000306 ***
GRE.Score 0.00305648 0.00108388 2.820 0.00556 **
TOEFL.Score -0.00004673 0.00205629 -0.023 0.98191
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 0.07204 on 129 degrees of freedom
Multiple R-squared: 0.4477, Adjusted R-squared: 0.4349
F-statistic: 34.86 on 3 and 129 DF, p-value: < 2.2e-16
> summary(RegModel.7)
Call:
lm(formula = Chance.of.Admit ~ CGPA + GRE.Score + TOEFL.Score,
data = Dataset, subset = University.Rating == 4)
Residuals:
Min 1Q Median 3Q Max
-0.255177 -0.017415 0.001369 0.030444 0.111872
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -1.699799 0.217011 -7.833 3.71e-11 ***
CGPA 0.139220 0.021526 6.468 1.15e-08 ***
GRE.Score 0.002289 0.001208 1.895 0.0622 .
TOEFL.Score 0.004635 0.002259 2.052 0.0439 *
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
> summary(RegModel.8)
Call:
lm(formula = Chance.of.Admit ~ CGPA + GRE.Score + TOEFL.Score,
data = Dataset, subset = University.Rating == 5)
Residuals:
Min 1Q Median 3Q Max
-0.124249 -0.017476 0.005705 0.023132 0.065660
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -1.1453398 0.1791352 -6.394 0.0000000345 ***
CGPA 0.1273272 0.0233022 5.464 0.0000011110 ***
GRE.Score 0.0011823 0.0009832 1.202 0.2342
TOEFL.Score 0.0040671 0.0019198 2.119 0.0386 *
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1