ComenzarEmpieza gratis

Probability distributions

Well done on the previous exercise! Now you have the general idea of what the Bayesian approach is all about. Among other things, you know that for a Bayesian, parameters of statistical models are random variables which can be described by probability distributions.

This exercise will test your ability to visualize and interpret probability distributions. You have been given a long list of draws from a distribution of the heights of plants in centimeters, contained in the variable draws. seaborn and matplotlib.pyplot have been imported for you as sns and plt, respectively. Time to get your hands dirty with data!

Este ejercicio forma parte del curso

Bayesian Data Analysis in Python

Ver curso

Ejercicio interactivo práctico

Prueba este ejercicio completando el código de muestra.

# Print the list of draws
print(____)

# Print the length of draws
print(____)
Editar y ejecutar código