title: Q-exponential distribution
text: # Q-exponential distribution
  
  The q-exponential distribution is a probability distribution arising from the maximization of the Tsallis entropy under appropriate constraints, including constraining the domain to be positive. It is one example of a Tsallis distribution. The q-exponential is a generalization of the exponential distribution in the same way that Tsallis entropy is a generalization of standard Boltzmann–Gibbs entropy or Shannon entropy. The exponential distribution is recovered as $q\rightarrow 1.$
  
  Originally proposed by the statisticians George Box and David Cox in 1964, and known as the reverse Box–Cox transformation for $q=1-\lambda ,$ a particular case of power transform in statistics.
  
  ## Characterization
  
  ### Probability density function
  
  The q-exponential distribution has the probability density function
  
      $(2-q)\lambda e_{q}(-\lambda x)$
  
  where
  
      $e_{q}(x)=[1+(1-q)x]^{1/(1-q)}$
  
  is the q-exponential if q ≠ 1. When q = 1, $e_q(x)$ is just exp(x).
  
  ## Derivation
  
  In a similar procedure to how the exponential distribution can be derived (using the standard Boltzmann–Gibbs entropy or Shannon entropy and constraining the domain of the variable to be positive), the q-exponential distribution can be derived from a maximization of the Tsallis Entropy subject to the appropriate constraints.
  
  ## Relationship to other distributions
  
  The q-exponential is a special case of the generalized Pareto distribution where
  
      $\mu =0,\quad \xi ={\frac {q-1}{2-q}},\quad \sigma ={\frac {1}{\lambda (2-q)}}.$
  
  The q-exponential is the generalization of the Lomax distribution (Pareto Type II), as it extends this distribution to the cases of finite support. The Lomax parameters are:
  
      $\alpha ={\frac {2-q}{q-1}},\quad \lambda _{\mathrm {Lomax} }={\frac {1}{\lambda (q-1)}}.$
  
  As the Lomax distribution is a shifted version of the Pareto distribution, the q-exponential is a shifted reparameterized generalization of the Pareto. When q > 1, the q-exponential is equivalent to the Pareto shifted to have support starting at zero. Specifically, if
  
      $X\sim \operatorname {{\mathit {q}}-Exp} (q,\lambda ){\text{ and }}Y\sim \left[\operatorname {Pareto} \left(x_{m}={\frac {1}{\lambda (q-1)}},\alpha ={\frac {2-q}{q-1}}\right)-x_{m}\right],$
  
  then $X\sim Y.$
  
  ## Generating random deviates
  
  Random deviates can be drawn using inverse transform sampling. Given a variable U that is uniformly distributed on the interval (0,1), then
  
      $X={\frac {-q'\ln _{q'}(U)}{\lambda }}\sim \operatorname {{\mathit {q}}-Exp} (q,\lambda )$
  
  where $\ln _{q'}$ is the q-logarithm and $q'={\frac {1}{2-q}}.$
  
  ## Applications
  
  Being a power transform, it is a usual technique in statistics for stabilizing the variance, making the data more normal distribution-like and improving the validity of measures of association such as the Pearson correlation between variables. It has been found to be an accurate model for train delays. It is also found in atomic physics and quantum optics, for example processes of molecular condensate creation via transition through the Feshbach resonance.
  
  