LoslegenKostenlos loslegen

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().

Diese Übung ist Teil des Kurses

Building Response Models in R

Kurs anzeigen

Anleitung zur Übung

  • Obtain the model coefficients of the probit.model and the logistic.model using the function coef() and compare them using the function cbind().

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Compare the coefficients
___(coef(___), coef(___))
Code bearbeiten und ausführen