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

Calculating probabilities

You're in charge of the sales team, and it's time for performance reviews, starting with Amir. As part of the review, you want to randomly select a few of the deals that he's worked on over the past year so that you can look at them more deeply. Before you start selecting deals, you'll first figure out what the chances are of selecting certain deals.

Recall that the probability of an event can be calculated by $$ P(\text{event}) = \frac{\text{# ways event can happen}}{\text{total # of possible outcomes}} $$

dplyr is loaded and amir_deals is available.

Bu egzersiz

Introduction to Statistics in R

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

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Count the deals for each product
amir_deals %>%
  ___
Kodu Düzenle ve Çalıştır