Escolar Documentos
Profissional Documentos
Cultura Documentos
Model Summary
Forward Method
Model Summary
Ward Method
Model Summary
Regression after removing the two irrelevant variables i.e Professional and Unemployed
Model Summary
Answer 1a:
By running the binary regression we got the residuals and then we run the regression between
the residual and the predicted value. The results are as follows:
Residuals Statisticsa
Histogram
500
400
Frequency
300
200
100
Mean = 6.18E-17
Std. Dev. = 0.988
0 N = 673
-6 -4 -2 0 2 4 6
Thescatterplotwegotisasfolows.
Scatterplot
-2
-4
Answer 2
Income .000 .000 91.515 1 .000 1.000
P=-14.034+.000*28550+1.460*1+1.418*1+1.654*1+1.330*0=-9.5034
Interpretation: The probability of buying this product is zero as the probability for buying is zero.
Hence she will not buy the mentioned products.
Answer 3:
Regression
SUMMARY OUTPUT
Regression Statistics
Multiple R 0.697906
R Square 0.487073
Adjusted R Square
0.483228
Standard Error
0.279771
Observations 673
ANOVA
df SS MS F Significance F
Regression 5 49.5758 9.91516 126.6761 3.16E-94
Residual 667 52.20726 0.078272
Total 672 101.7831
Coefficients
Standard Error
t Stat P-value Lower 95%Upper 95%Lower 95.0%Upper 95.0%
Intercept -0.28341 0.026077 -10.8679 1.92E-25 -0.33461 -0.2322 -0.33461 -0.232203139
Income 1.04E-05 5.17E-07 20.03789 2.81E-70 9.34E-06 1.14E-05 9.34E-06 1.14E-05
Is Female 0.073829 0.021944 3.364463 0.000811 0.030742 0.116916 0.030742 0.116915834
Is Married 0.055161 0.025214 2.187681 0.029039 0.005652 0.10467 0.005652 0.104669673
White 0.053252 0.024 2.218809 0.026836 0.006127 0.100378 0.006127 0.100377569
Prev Child Mag
0.124987 0.042175 2.963512 0.00315 0.042175 0.2078 0.042175 0.207799858
Taking buy as an independent variable and income, female, married, white and previous child as
dependent variables we have run a regression we got the above values. Then we extracted the
score.
Score= -0.28341+Income*C2+isfemale*D2+ismarried*E2+white*F2+Previouschild*G2
Likelihood= If(buy=1,P,1-P)
Than we run the solver and maximised sum of Ln likelihood and got the following Results.