LoslegenKostenlos loslegen

Results of the model fit using summary()

In the previous exercise you fitted a logistic regression model wells_fit using glm() and .fit(). The second step after fitting the model is to examine the model results. To do this you will use the .summary() function, which provides an overview of the model coefficients and how well they fit, along with several other statistical measures.

In the lessons to come, you will learn how to interpret the model output and the details of the given statistical measures and how to interpret them.

The model wells_fit has been preloaded in the workspace.

Diese Übung ist Teil des Kurses

Generalized Linear Models in Python

Kurs anzeigen

Anleitung zur Übung

  • Using summary(), view the model summary from wells_fit.

Interaktive Übung

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

# View the results of the wells_fit model
____(____.____)
Code bearbeiten und ausführen