MulaiMulai sekarang secara gratis

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

Latihan ini adalah bagian dari kursus

Building Response Models in R

Lihat Kursus

Petunjuk latihan

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

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Compare the coefficients
___(coef(___), coef(___))
Edit dan Jalankan Kode