Logistic vs. probit
The coefficients obtained from the probit.model
object looked familiar. So what is the actual difference to the logistic.model
?
Next, you compare the coefficients of both models by using the function coef()
. For a better comparison you bind the coefficient vectors together by using the function cbind()
.
This exercise is part of the course
Building Response Models in R
Exercise instructions
- Obtain the model coefficients of the
probit.model
and thelogistic.model
using the functioncoef()
and compare them using the functioncbind()
.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Compare the coefficients
___(coef(___), coef(___))