Logis-class              package:distr              R Documentation

_C_l_a_s_s "_L_o_g_i_s"

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

     The Logistic distribution with 'location' = m,  by default '= 0',
     and 'scale' = s, by default '= 1',  has distribution function

                    p(x) = 1 / (1 + exp(-(x-m)/s))

     and density

            d(x) = 1/s exp((x-m)/s) (1 + exp((x-m)/s))^-2.


     It is a long-tailed distribution with mean m and variance pi^2 /3
     s^2. C.f. 'rlogis'

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Objects can be created by calls of the form 'Logis(location,
     scale)'. This object is a logistic distribution.

_S_l_o_t_s:

     '_i_m_g': Object of class '"Reals"': The space of the image of this
          distribution has got dimension 1 and the name "Real Space". 

     '_p_a_r_a_m': Object of class '"LogisParameter"': the parameter of this
          distribution (location and scale), declared at its
          instantiation 

     '_r': Object of class '"function"': generates random numbers (calls
          function rlogis)

     '_d': Object of class '"function"': density function (calls
          function dlogis)

     '_p': Object of class '"function"': cumulative function (calls
          function plogis)

     '_q': Object of class '"function"': inverse of the cumulative
          function (calls function qlogis)

_E_x_t_e_n_d_s:

     Class '"AbscontDistribution"', directly.
      Class '"UnivariateDistribution"', by class
     '"AbscontDistribution"'.
      Class '"Distribution"', by class '"AbscontDistribution"'.

_M_e_t_h_o_d_s:

     _i_n_i_t_i_a_l_i_z_e 'signature(.Object = "Logis")': initialize method 

     _l_o_c_a_t_i_o_n 'signature(object = "Logis")': returns the slot
          'location' of the parameter of the distribution 

     _l_o_c_a_t_i_o_n<- 'signature(object = "Logis")': modifies the slot
          'location' of the parameter of the distribution 

     _s_c_a_l_e 'signature(object = "Logis")': returns the slot 'scale' of
          the parameter of the distribution 

     _s_c_a_l_e<- 'signature(object = "Logis")': modifies the slot 'scale'
          of the parameter of the distribution 

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

     Thomas Stabla Thomas.Stabla@uni-bayreuth.de,
      Florian Camphausen Florian.Camphausen@uni-bayreuth.de,
      Peter Ruckdeschel Peter.Ruckdeschel@uni-bayreuth.de,
      Matthias Kohl Matthias.Kohl@uni-bayreuth.de

_S_e_e _A_l_s_o:

     'LogisParameter-class' 'AbscontDistribution-class' 'Reals-class'
     'rlogis'

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

     L <- Logis(location = 1,scale = 1)
     # L is a logistic distribution with  location = 1 and scale = 1.
     r(L)(1) # one random number generated from this distribution, e.g. 5.87557
     d(L)(1) # Density of this distribution is 0.25 for x = 1.
     p(L)(1) # Probability that x < 1 is 0.5.
     q(L)(.1) # Probability that x < -1.197225 is 0.1.
     location(L) # location of this distribution is 1.
     location(L) <- 2 # location of this distribution is now 2.

