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

Variance of a multiplied random variable

In the last exercise you simulated X from a binomial with size 20 and p = .1 and now you'll use this same simulation to explore the variance.

Bu egzersiz

Foundations of Probability in R

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

Egzersiz talimatları

  • Use this simulation to estimate the variance of X.

  • Estimate the variance of 5 * X

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# X is simulated from 100,000 draws of a binomial with size 20 and p = .1
X <- rbinom(100000, 20, .1)

# Estimate the variance of X


# Estimate the variance of 5 * X
Kodu Düzenle ve Çalıştır