mycltp: central limit theorem applied to poisson distribution

View source: R/functions.R

mycltpR Documentation

central limit theorem applied to poisson distribution

Description

applies the central limit theorem to the poisson distribution and displays a histogram of the means distribution density

Usage

mycltp(n, iter, lambda = 10, ...)

Arguments

n

sample size

iter

number of iterations

lambda

mean and sd of the poisson distribution

...

other parameters of the main histogram

Value

returns a list of the means of each iteration and plots of probability density for the mean, the poisson distribution, and a relative frequency plot

Examples

mycltp(5, 100)


nbcastle/MATH4753cast0059 documentation built on May 3, 2022, 8:21 p.m.