Fitting probits and logits
During this exercise, you will fit a probit and logit model to the Pittsburgh bus data. There are multiple purposes for this and the following exercises:
- Learning how to change link functions.
- Learning to notice differences and similarities between using the logit and probit models.
- Learning how the link functions differ in code.
First, let's code some models! Then, you'll examine the outputs.
यह अभ्यास पाठ्यक्रम का हिस्सा है
Generalized Linear Models in R
इंटरैक्टिव व्यावहारिक अभ्यास
इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।
# Fit a GLM with a logit link and save it as bus_logit
bus_logit <- ___