CommencerCommencer gratuitement

(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.

Cet exercice fait partie du cours

Mixture Models in R

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Estimation of the mean
___ <- gender %>% 
  pull(___) %>% 
  ___()
mean_estimate
# Estimation of the standard deviation
sd_estimate <- ___ %>% 
  pull(___) %>% 
  ___()
sd_estimate
Modifier et exécuter le code