1. Learn
  2. /
  3. Courses
  4. /
  5. Foundations of Inference in Python

Connected

Exercise

Normality of groups

Now that you've established equal variance, the next condition to check for is normality of the funding in each industry.

In this exercise, you'll visualize and compare data with and without normality. Although these visualizations can be created with plt.hist(), for this exercise, you'll practice using the .plot() argument on a DataFrame, with the arguments kind and alpha.

The three DataFrames you created (biotech_df, enterprise_df and ecommerce_df) have been loaded for you. The packages pandas as pd, NumPy as np, Matplotlib as plt, and the stats package from SciPy have all been loaded as well.

Instructions 1/2

undefined XP
    1
    2
  • Plot a histogram with 33% transparency for each industry's funding_total_usd in the following order: Biotechnology, then Enterprise Software, and then E-commerce.