(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.
Deze oefening maakt deel uit van de cursus
Mixture Models in R
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
# Estimation of the mean
___ <- gender %>%
pull(___) %>%
___()
mean_estimate
# Estimation of the standard deviation
sd_estimate <- ___ %>%
pull(___) %>%
___()
sd_estimate