开始使用免费开始使用

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.

本练习是课程的一部分

Practicing Statistics Interview Questions in R

查看课程

动手互动练习

通过我们的互动练习之一,将理论转化为实践

开始练习