mycltp: My Poisson Central Limit Theorem

Description Usage Arguments Details Examples

View source: R/mycltp.R

Description

Reports the distribution of sample means for iter samples of size n.

Usage

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

Arguments

n

the number of elements per sample

iter

the number of samples to take

lambda

the mean and variation of the source Poisson distribution

...

futher arguments passed to the call of hist

Details

Given the characteristic number for the Poisson distribution, takes iter samples of size n, then calculates the mean for each sample and reports the distribution.

Examples

1
mycltp(n=3, iter = 1000, lambda = 5)

Nat-Geo/math4753 documentation built on April 16, 2020, 12:35 a.m.