ComeçarComece de graça

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

Este exercício faz parte do curso

Mixture Models in R

Ver curso

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

# Estimation of the mean
___ <- gender %>% 
  pull(___) %>% 
  ___()
mean_estimate
# Estimation of the standard deviation
sd_estimate <- ___ %>% 
  pull(___) %>% 
  ___()
sd_estimate
Editar e executar o código