C Library Functions  - dexsf (3)

NAME

dexsf(3f) - [M_datapac:SPARSITY] compute the double exponential sparsity function

CONTENTS

Synopsis
Description
Input Arguments
Output Arguments
Examples
Author
Maintainer
License
References

SYNOPSIS

SUBROUTINE DEXSF(P,Sf)

       REAL(kind=wp),intent(in) :: P
       REAL(kind=wp),intent(out) :: Sf

DESCRIPTION

DEXSF(3f) computes the sparsity function value for the double exponential (Laplace) distribution with mean = 0 and standard deviation = sqrt(2).

This distribution is defined for all x and has the probability density function

       f(x) = 0.5*exp(-abs(x))

Note that the sparsity function of a distribution is the derivative of the percent point function, and also is the reciprocal of the probability density function (but in units of P rather than X).

INPUT ARGUMENTS

P The value (between 0.0 and 1.0 exclusively) at which the sparsity function is to be evaluated.

OUTPUT ARGUMENTS

SF The sparsity function value.

EXAMPLES

Sample program:

   program demo_dexsf
   use M_datapac, only : dexsf
   implicit none
   ! call dexsf(x,y)
   end program demo_dexsf

Results:

AUTHOR

The original DATAPAC library was written by James Filliben of the Statistical Engineering Division, National Institute of Standards and Technology.

MAINTAINER

John Urban, 2022.05.31

LICENSE

CC0-1.0

REFERENCES

o Filliben, Simple and Robust Linear Estimation of the Location Parameter of a Symmetric Distribution (Unpublished PH.D. Dissertation, Princeton University), 1969, pages 21-44, 229-231.
o Filliben, ’The Percent Point Function’, (UNpublished Manuscript), 1970, pages 28-31.
o Johnson and Kotz, Continuous Univariate Distributions--2, 1970, pages 22-36.


Nemo Release 3.1 dexsf (3) July 22, 2023
Generated by manServer 1.08 from 004e2187-e9e6-423d-af6e-35261d46d32c using man macros.