40 likes | 52 Views
Explore the differences between logit and logistic functions for age prediction using logistic regression analysis. Analyze fitted probabilities and predict outcomes based on age parameters. Visualize results with graphs.
E N D
Day 9 Logistic Regression
logit versus logistic • logit true test • logistic true test • logistic true test age
Logistic functions • lstat • lroc • lsens
Fitted Probabilities • predict p0 if test==0 • predict p1 if test==1 • sort age • graph p0 p1 true age, c(ll.) s(ii.) ylab xlab l1(“P”) • predict xb0 if test==0, xb • predict xb1 if test==1, xb • graph xb0 xb1 age, c(ll) s(ii) ylab xlab l1(“Logit(p)=B0 + B1age”)