BaşlayınÜcretsiz başlayın

Confidence intervals for negative Binomial model

Continuing with the previously fitted crab model you will compare the confidence intervals for the negative Binomial model with the Poisson regression model.

The Poisson regression model crab_pois and the negative Binomial model crab_NB, and crab dataset are preloaded in the workspace.

Bu egzersiz, kursun bir parçasıdır

Generalized Linear Models in Python

Kursa Göz Atın

Egzersiz talimatları

  • Compute and print confidence intervals for the crab_pois model.
  • Compute and print confidence intervals for the crab_NB model.

Uygulamalı etkileşimli egzersiz

Bu egzersizi bu örnek kodu tamamlayarak deneyin.

# Compute confidence intervals for crab_Pois model
print('Confidence intervals for the Poisson model')
____(____.____)

# Compute confidence intervals for crab_NB model
print('Confidence intervals for the Negative Binomial model')
____(____.____)
Kodu Düzenle ve Çalıştır