Skip to Content
Learn
Statistical Distributions with NumPy
Different Types of Distributions, Part I

Histograms and their datasets can be classified based on the shape of the graphed values. In the next two exercises, we’ll look at two different ways of describing histograms.

One way to classify a dataset is by counting the number of distinct peaks present in the graph. Peaks represent concentrations of data. Let’s look at the following examples:

A unimodal dataset has only one distinct peak. histogram

A bimodal dataset has two distinct peaks. This often happens when the data contains two different populations. histogram

A multimodal dataset has more than two peaks. histogram

A uniform dataset doesn’t have any distinct peaks. histogram

Instructions

1.

Determine the distribution shape of Graph A and save your answer (as a string) to the variable graph_a.

2.

Determine the distribution shape of Graph B and save your answer (as a string) to the variable graph_b.

3.

Determine the distribution shape of Graph C and save your answer (as a string) to the variable graph_c.

Folder Icon

Sign up to start coding

Already have an account?