normal_areas_movie: Normal areas movie

View source: R/normal_areas_movie.R

normal_areas_movieR Documentation

Normal areas movie

Description

A movie to show how the probability that a standard normal random variable lies within plus or minus a multiple of its standard deviation (that is, 1) varies with the value of the multiple.

Usage

normal_areas_movie(starting_multiple = 1, delta_multiple = 1, ndec = 3)

Arguments

starting_multiple

A non-negative numeric scalar. The value of the multiple used in the first plot.

delta_multiple

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

ndec

The number of decimal places to which to round the probability that is superimposed on the plot.

Details

The value of the multiple can be changed using the +/i buttons in the panel. For the purposes of this movie, the multiple cannot be increased above a value of 5.

Value

Nothing is returned, only the animation is produced.

See Also

stat0002movies: general information about the movies.

normal_pdf_movie: normal probability density function movie.

Examples

normal_areas_movie()

paulnorthrop/stat0002 documentation built on Oct. 10, 2024, 1:27 p.m.