ExpRep-package {ExpRep}R Documentation

Experiment Repetitions

Description

The package ExpRep, which basically responds to educational purposes, allows to calculate the probabilities of occurrences of an event in a great number of repetitions of Bernoulli experiment, through the application of the local and the integral theorem of De Moivre Laplace, and the theorem of Poisson. It gives the possibility to show the results graphically and analytically, and to compare the results obtained by the application of the above theorems with those calculated by the direct application of the Binomial formula.

Details

The DESCRIPTION file:

Package: ExpRep
Type: Package
Title: Experiment Repetitions
Version: 1.0
Date: 2017-06-22
Author: Larisa Zamora-Matamoros and Jorge Diaz-Silvera
Maintainer: Larisa Zamora-Matamoros <larisa@uo.edu.cu>
Description: Allows to calculate the probabilities of occurrences of an event in a great number of repetitions of Bernoulli experiment, through the application of the local and the integral theorem of De Moivre Laplace, and the theorem of Poisson. Gives the possibility to show the results graphically and analytically, and to compare the results obtained by the application of the above theorems with those calculated by the direct application of the Binomial formula. Is basically useful for educational purposes.
License: Unlimited

Index of help topics:

ApplicIntegralTheo      Applications of the Integral Theorem of
                        DeMoivre-Laplace.
Buffon                  Buffon
ExpRep-package          Experiment Repetitions
Integral_Theorem        Integral Theorem of DeMoivre-Laplace
Local_Theorem           Local Theorem of DeMoivre-Laplace
Poisson_Theorem         Poisson Theorem.
S_Integral_Theorem      Simulations of the Integral Theorem of
                        DeMoivre-Laplace.
S_Local_Limit_Theorem   Simulations of Local Theorem of
                        DeMoivre-Laplace
S_Poisson_Theorem       Simulations of Poisson Theorem

Author(s)

Larisa Zamora-Matamoros and Jorge Diaz-Silvera

Maintainer: Larisa Zamora-Matamoros <larisa@uo.edu.cu>

References

Gnedenko, B. V. (1978). The Theory of Probability. Mir Publishers. Moscow.

Examples

ProbL<-Local_Theorem(n=100,m=50,p=0.02)
ProbL

ProbI<-Integral_Theorem(n=100,p=0.5,linf=0,lsup=50)
ProbI

ProbP<-Poisson_Theorem(n=100,m=50,p=0.002)
ProbP

beta<-ApplicIntegralTheo(Applic="beta",n=369,p=0.4,alpha=0.05) 
beta

alpha<-ApplicIntegralTheo(Applic="alpha",n=369,p=0.4,beta=0.95) 
alpha

n<-ApplicIntegralTheo(Applic="n",p=0.4,alpha=0.05,beta=0.95) 
n

S_Local_Limit_Theorem(n = 170, p = 0.5, Compare = TRUE, Table = TRUE, Graph = TRUE, 
      GraphE = TRUE)

S_Poisson_Theorem(n = 169, p = 0.002, Compare = TRUE, Table = TRUE, Graph = TRUE, 
      GraphE = TRUE)

S_Integral_Theorem(n=100, p=0.5, linf = 0, lsup = 50, Compare = TRUE, Table = TRUE, 
      Graph = TRUE, GraphE = TRUE) 

Buffon(p = 0.5, width = 0.2, r = c(100, 500, 1000, 1500))

[Package ExpRep version 1.0 Index]