LoslegenKostenlos loslegen

(not so good) Estimations of the mean and sd

Using the data gender again and assuming that the variable Weight follows a Gaussian distribution, we can estimate the mean and the standard deviation following the previous estimation procedure. The idea is to realize that this procedure does not always work because the data can be formed by more than one distribution.

Diese Übung ist Teil des Kurses

Mixture Models in R

Kurs anzeigen

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Estimation of the mean
___ <- gender %>% 
  pull(___) %>% 
  ___()
mean_estimate
# Estimation of the standard deviation
sd_estimate <- ___ %>% 
  pull(___) %>% 
  ___()
sd_estimate
Code bearbeiten und ausführen