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

Inverse cumulative distribution function

The logistic function (logistic distribution CDF) has another important property: each x input value is transformed to a unique value. That means that the transformation can be reversed. The logit function is the name for the inverse logistic function, which is also the logistic distribution inverse cumulative distribution function. (All three terms mean exactly the same thing.)

The logit function takes values between zero and one, and returns values between minus infinity and infinity.

dplyr and ggplot2 are loaded.

Bu egzersiz

Intermediate Regression in R

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

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

logistic_distn_inv_cdf <- tibble(
  # Make a seq from 0.001 to 0.999 in steps of 0.001
  p = ___,
  # Transform with built-in logistic inverse CDF
  logit_p = ___,
  # Transform with manual logit
  logit_p_man = ___
) 

# Check that each logistic function gives the same results
all.equal(
  ___,
  ___
)
Kodu Düzenle ve Çalıştır