normal_areas_movie: Normal areas movie

Description Usage Arguments Details Value See Also Examples

View source: R/normal_areas_movie.R

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

1
2
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

movies: general information about the movies.

normal_pdf_movie: normal probability density function movie.

Examples

1
2
3
4
5
6
7
8
9
# Load package rpanel
# [Use install.packages("rpanel") if necessary]
library(rpanel)

# Produce movie using values from the Aussie births data
## Not run: 
normal_areas_movie()

## End(Not run)

paulnorthrop/stat1004 documentation built on Nov. 17, 2019, 3:49 a.m.