A movie to show how the probability density function (p.d.f.) of the normal distribution varies as the mean and/or variance of the distribution are changed. For more continuous distributions, including the exponential and uniform distributions, use smovie::movies() and click on the Continuous menu. This is based on the continuous function. (If you have not installed the smovie package then use install.packages("smovie") to install it.)

normal_pdf_movie(
  starting_mean = 0,
  starting_var = 1,
  delta_mean = 0.1,
  delta_var = 0.1
)

Arguments

starting_mean

A numeric scalar. The value of the mean used to produce the first plot of the p.d.f.

starting_var

A positive numeric scalar. The value of the variance used to produce the first plot of the p.d.f.

delta_mean

A numeric scalar. The amount by which the value of the mean is increased/decreased after one click of the +/- button for the mean.

delta_var

A numeric scalar. The amount by which the value of the variance is increased/decreased after one click of the +/- button for the variance.

Value

Nothing is returned, only the animation is produced.

Details

The values of the mean and/or variance can be changed using the +/- buttons in the panel. For the purposes of this movie, the variance cannot be reduced below a value of 0.1.

See also

stat0002movies: general information about the movies.

normal_areas_movie: normal central probability areas movie.

Examples

normal_pdf_movie()

normal_pdf_movie(delta_var = 1)