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

Poisson confidence intervals

Using the previously fitted horseshoes crab model sat ~ width analyze uncertainty of the coefficient estimates by computing the confidence intervals for \(\beta_1\) and the confidence intervals for the multiplicative effect on the mean.

The model object and crab dataset are preloaded in the workspace.

Bu egzersiz

Generalized Linear Models in Python

kursunun bir parçasıdır
Kursu Görüntüle

Egzersiz talimatları

  • Using the .conf_int() function extract the confidence intervals and save as model_ci.
  • Compute confidence intervals for the multiplicative effect on the mean.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Compute confidence intervals for the coefficients
model_ci = ____.____

# Compute and print the confidence intervals for the multiplicative effect on the mean
____(np.____(____))
Kodu Düzenle ve Çalıştır