illustrateCLT            package:distrEx            R Documentation

_G_e_n_e_r_i_c _F_u_n_c_t_i_o_n _f_o_r _I_l_l_u_s_t_r_a_t_i_n_g _t_h_e _C_L_T

_D_e_s_c_r_i_p_t_i_o_n:

     Generic function for generating a sequence of plots of the density
     and cdf of the consecutive standardized and centered sums of iid
     r.v. distributed according to a prescribed discrete or absolutely
     continuous distribution compared to the standard normal.

_U_s_a_g_e:

     illustrateCLT(Distr, ...)
     ## S4 method for signature 'AbscontDistribution':
     illustrateCLT(Distr, len, sleep = 0)
     ## S4 method for signature 'DiscreteDistribution':
     illustrateCLT(Distr, len, sleep = 0)

_A_r_g_u_m_e_n_t_s:

   Distr: object of class '"AbscontDistribution"' or class
          '"DiscreteDistribution"': distribution of the summands

     len: integer: up to which number of summands plots are generated

   sleep: numeric: pause between subsequent plots 

     ...: addtional arguments for methods not yet implemented 

_V_a_l_u_e:

     void

_A_u_t_h_o_r(_s):

     Matthias Kohl Matthias.Kohl@stamats.de

_E_x_a_m_p_l_e_s:

     distroptions("DefaultNrFFTGridPointsExponent" = 13)
     illustrateCLT(Distr = Unif(), len = 20)
     distroptions("DefaultNrFFTGridPointsExponent" = 12)
     illustrateCLT(Distr = Pois(lambda = 2), len = 20)
     distroptions("DefaultNrFFTGridPointsExponent" = 13)
     illustrateCLT(Distr = Pois(lambda = 2)+Unif(), len = 20)

