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

How many visitors could your site get (1)?

To get more visitors to your website you are considering paying for an ad to be shown 100 times on a popular social media site. According to the social media site, their ads get clicked on 10% of the time.

Bu egzersiz

Fundamentals of Bayesian Data Analysis in R

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

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Fill in the parameters
n_samples <- 100000
n_ads_shown <- ___
proportion_clicks <- ___
n_visitors <- rbinom(n_samples, size = n_ads_shown, 
                     prob = proportion_clicks)

# Visualize n_visitors
Kodu Düzenle ve Çalıştır