You are on page 1of 2

BIG DATA ANALYTICS

ASSIGNMENT NO #3

NAME & ROLLNO

 AHMAD NUMAN. L1F17MBAM7200

 MUHAMMAD WAHAB. L1F18MBAM0166

 HASSAN SHAHZAD. L1F14MBAM0109

CLASS: MBA

SUBMITTED TO: PROF. DR AHMED SIDDIQI.


Q1: what is the impact of debt on income?
Q1 <- lm(income~tdebt, data=Dataset) summary(Q1)
Coefficients:Estimate Std. Error t value Pr(>|t|)
(Intercept) 23.8973 1.3847 17.26 <2e-16 ***
Total debt 4.8926 0.2019 24.23 <2e-16 ***
Interpretation: debt and income have positive relation therefore, increase in debt by 1%,
income would increase by 4.8926 %.

Q2: what is the impact of debt on income for person with high school
degree?
d3 <- subset(Dataset, subset=ed=="High school degree")
RegModel.4 <- lm(income~tdebt, data=d3)
summary(RegModel.4)
Coefficients:Estimate Std. Error t value Pr(>|t|)
(Intercept) 26.0684 2.4812 10.51 <2e-16 ***
Total debt 4.7148 0.4102 11.49 <2e-16 ***
Interpretation: it have positive relation and when debt increase by 1% so the income will
increase by 4.7148%.

Q3: What is the impact of debt on income for unemployed persons?


d2 <- subset(Dataset, subset=employ==0)
Q3 <- lm(income~tdebt, data=d2) summary(Q3)
Coefficients:Estimate Std. Error t value Pr(>|t|)
(Intercept) 18.1921 1.5541 11.706 < 2e-16 ***
Total debt 2.4476 0.3773 6.487 0.0000000106 ***
Interpretation: it have positive relation and when debt increase by 1% so the income will
increase by 2.4476%



You might also like