CommencerCommencer gratuitement

Shape of normal distribution

All normal distributions are symmetric and have a bell-shaped density curve with a single peak.

The normal distribution takes two parameters: the mean (\(\mu\)) and the variance (\(\sigma^2\)). The notation of the normal distribution is \(N(\mu, \sigma^2)\). The mean indicates where the peak of the density curve occurs, and the variance indicates the spread of the bell curve.

The standard deviation (\(\sigma\)) is the square root of variance (\(\sigma^2\)). The rnorm() function takes the standard deviation (sd) as an argument.

We will review descriptive statistics in the next chapter.

In this exercise, you will generate samples from three different normal distributions and visualize their distributions. The libraries tidyr and ggplot2 have been preloaded for this exercise.

Cet exercice fait partie du cours

Practicing Statistics Interview Questions in R

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice