/usr/share/doc/libghc-statistics-doc/html/Statistics-Distribution-Laplace.html is in libghc-statistics-doc 0.13.3.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Statistics.Distribution.Laplace</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Statistics-Distribution-Laplace.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Statistics-Distribution-Laplace.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">statistics-0.13.3.0: A library of statistical types, data, and functions</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>(c) 2015 Mihai Maruseac</td></tr><tr><th>License</th><td>BSD3</td></tr><tr><th>Maintainer</th><td>mihai.maruseac@maruseac.com</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Portability</th><td>portable</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Statistics.Distribution.Laplace</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Constructors</a></li><li><a href="#g:2">Accessors</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>The Laplace distribution. This is the continuous probability
defined as the difference of two iid exponential random variables
or a Brownian motion evaluated as exponentially distributed times.
It is used in differential privacy (Laplace Method), speech
recognition and least absolute deviations method (Laplace's first
law of errors, giving a robust regression method)</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">data</span> <a href="#t:LaplaceDistribution">LaplaceDistribution</a></li><li class="src short"><a href="#v:laplace">laplace</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> -> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a></li><li class="src short"><a href="#v:laplaceFromSample">laplaceFromSample</a> :: <a href="Statistics-Types.html#t:Sample">Sample</a> -> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a></li><li class="src short"><a href="#v:ldLocation">ldLocation</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></li><li class="src short"><a href="#v:ldScale">ldScale</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:LaplaceDistribution" class="def">LaplaceDistribution</a> <a href="src/Statistics-Distribution-Laplace.html#LaplaceDistribution" class="link">Source</a> <a href="#t:LaplaceDistribution" class="selflink">#</a></p><div class="subs instances"><p id="control.i:LaplaceDistribution" class="caption collapser" onclick="toggleSection('i:LaplaceDistribution')">Instances</p><div id="section.i:LaplaceDistribution" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:LaplaceDistribution:Eq:1" class="instance expander" onclick="toggleSection('i:id:LaplaceDistribution:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Eq.html#t:Eq">Eq</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a></span> <a href="src/Statistics-Distribution-Laplace.html#line-47" class="link">Source</a> <a href="#t:LaplaceDistribution" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:LaplaceDistribution:Eq:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:LaplaceDistribution:Data:2" class="instance expander" onclick="toggleSection('i:id:LaplaceDistribution:Data:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Data.html#t:Data">Data</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a></span> <a href="src/Statistics-Distribution-Laplace.html#line-47" class="link">Source</a> <a href="#t:LaplaceDistribution" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:LaplaceDistribution:Data:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:gfoldl">gfoldl</a> :: (<span class="keyword">forall</span> d b. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Data.html#t:Data">Data</a> d => c (d -> b) -> d -> c b) -> (<span class="keyword">forall</span> g. g -> c g) -> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> c <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> <a href="#v:gfoldl" class="selflink">#</a></p><p class="src"><a href="#v:gunfold">gunfold</a> :: (<span class="keyword">forall</span> b r. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Data.html#t:Data">Data</a> b => c (b -> r) -> c r) -> (<span class="keyword">forall</span> r. r -> c r) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Data.html#t:Constr">Constr</a> -> c <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> <a href="#v:gunfold" class="selflink">#</a></p><p class="src"><a href="#v:toConstr">toConstr</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Data.html#t:Constr">Constr</a> <a href="#v:toConstr" class="selflink">#</a></p><p class="src"><a href="#v:dataTypeOf">dataTypeOf</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Data.html#t:DataType">DataType</a> <a href="#v:dataTypeOf" class="selflink">#</a></p><p class="src"><a href="#v:dataCast1">dataCast1</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a>) t => (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Data.html#t:Data">Data</a> d => c (t d)) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (c <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a>) <a href="#v:dataCast1" class="selflink">#</a></p><p class="src"><a href="#v:dataCast2">dataCast2</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a>) t => (<span class="keyword">forall</span> d e. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Data.html#t:Data">Data</a> d, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Data.html#t:Data">Data</a> e) => c (t d e)) -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (c <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a>) <a href="#v:dataCast2" class="selflink">#</a></p><p class="src"><a href="#v:gmapT">gmapT</a> :: (<span class="keyword">forall</span> b. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Data.html#t:Data">Data</a> b => b -> b) -> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> <a href="#v:gmapT" class="selflink">#</a></p><p class="src"><a href="#v:gmapQl">gmapQl</a> :: (r -> r' -> r) -> r -> (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Data.html#t:Data">Data</a> d => d -> r') -> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> r <a href="#v:gmapQl" class="selflink">#</a></p><p class="src"><a href="#v:gmapQr">gmapQr</a> :: (r' -> r -> r) -> r -> (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Data.html#t:Data">Data</a> d => d -> r') -> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> r <a href="#v:gmapQr" class="selflink">#</a></p><p class="src"><a href="#v:gmapQ">gmapQ</a> :: (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Data.html#t:Data">Data</a> d => d -> u) -> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> [u] <a href="#v:gmapQ" class="selflink">#</a></p><p class="src"><a href="#v:gmapQi">gmapQi</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Data.html#t:Data">Data</a> d => d -> u) -> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> u <a href="#v:gmapQi" class="selflink">#</a></p><p class="src"><a href="#v:gmapM">gmapM</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:Monad">Monad</a> m => (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Data.html#t:Data">Data</a> d => d -> m d) -> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> m <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> <a href="#v:gmapM" class="selflink">#</a></p><p class="src"><a href="#v:gmapMp">gmapMp</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:MonadPlus">MonadPlus</a> m => (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Data.html#t:Data">Data</a> d => d -> m d) -> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> m <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> <a href="#v:gmapMp" class="selflink">#</a></p><p class="src"><a href="#v:gmapMo">gmapMo</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Control-Monad.html#t:MonadPlus">MonadPlus</a> m => (<span class="keyword">forall</span> d. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Data.html#t:Data">Data</a> d => d -> m d) -> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> m <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> <a href="#v:gmapMo" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:LaplaceDistribution:Read:3" class="instance expander" onclick="toggleSection('i:id:LaplaceDistribution:Read:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Read.html#t:Read">Read</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a></span> <a href="src/Statistics-Distribution-Laplace.html#line-47" class="link">Source</a> <a href="#t:LaplaceDistribution" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:LaplaceDistribution:Read:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:readsPrec">readsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-ParserCombinators-ReadP.html#t:ReadS">ReadS</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> <a href="#v:readsPrec" class="selflink">#</a></p><p class="src"><a href="#v:readList">readList</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-ParserCombinators-ReadP.html#t:ReadS">ReadS</a> [<a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a>] <a href="#v:readList" class="selflink">#</a></p><p class="src"><a href="#v:readPrec">readPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-ParserCombinators-ReadPrec.html#t:ReadPrec">ReadPrec</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> <a href="#v:readPrec" class="selflink">#</a></p><p class="src"><a href="#v:readListPrec">readListPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-ParserCombinators-ReadPrec.html#t:ReadPrec">ReadPrec</a> [<a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a>] <a href="#v:readListPrec" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:LaplaceDistribution:Show:4" class="instance expander" onclick="toggleSection('i:id:LaplaceDistribution:Show:4')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a></span> <a href="src/Statistics-Distribution-Laplace.html#line-47" class="link">Source</a> <a href="#t:LaplaceDistribution" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:LaplaceDistribution:Show:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:LaplaceDistribution:Generic:5" class="instance expander" onclick="toggleSection('i:id:LaplaceDistribution:Generic:5')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t:Generic">Generic</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a></span> <a href="src/Statistics-Distribution-Laplace.html#line-47" class="link">Source</a> <a href="#t:LaplaceDistribution" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:LaplaceDistribution:Generic:5" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t:Rep">Rep</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Kind.html#t:-42-">*</a> <a href="#t:Rep" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:from">from</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t:Rep">Rep</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> x <a href="#v:from" class="selflink">#</a></p><p class="src"><a href="#v:to">to</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t:Rep">Rep</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> x -> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> <a href="#v:to" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:LaplaceDistribution:ToJSON:6" class="instance expander" onclick="toggleSection('i:id:LaplaceDistribution:ToJSON:6')"></span> <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:ToJSON">ToJSON</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a></span> <a href="src/Statistics-Distribution-Laplace.html#line-50" class="link">Source</a> <a href="#t:LaplaceDistribution" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:LaplaceDistribution:ToJSON:6" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toJSON">toJSON</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:Value">Value</a> <a href="#v:toJSON" class="selflink">#</a></p><p class="src"><a href="#v:toEncoding">toEncoding</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:Encoding">Encoding</a> <a href="#v:toEncoding" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:LaplaceDistribution:FromJSON:7" class="instance expander" onclick="toggleSection('i:id:LaplaceDistribution:FromJSON:7')"></span> <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a></span> <a href="src/Statistics-Distribution-Laplace.html#line-49" class="link">Source</a> <a href="#t:LaplaceDistribution" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:LaplaceDistribution:FromJSON:7" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:parseJSON">parseJSON</a> :: <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:Value">Value</a> -> <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:Parser">Parser</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> <a href="#v:parseJSON" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:LaplaceDistribution:Binary:8" class="instance expander" onclick="toggleSection('i:id:LaplaceDistribution:Binary:8')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.8.3.0/Data-Binary.html#t:Binary">Binary</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a></span> <a href="src/Statistics-Distribution-Laplace.html#line-52" class="link">Source</a> <a href="#t:LaplaceDistribution" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:LaplaceDistribution:Binary:8" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:put">put</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.8.3.0/Data-Binary-Put.html#t:Put">Put</a> <a href="#v:put" class="selflink">#</a></p><p class="src"><a href="#v:get">get</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.8.3.0/Data-Binary-Get-Internal.html#t:Get">Get</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> <a href="#v:get" class="selflink">#</a></p><p class="src"><a href="#v:putList">putList</a> :: [<a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.8.3.0/Data-Binary-Put.html#t:Put">Put</a> <a href="#v:putList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:LaplaceDistribution:ContGen:9" class="instance expander" onclick="toggleSection('i:id:LaplaceDistribution:ContGen:9')"></span> <a href="Statistics-Distribution.html#t:ContGen">ContGen</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a></span> <a href="src/Statistics-Distribution-Laplace.html#line-84" class="link">Source</a> <a href="#t:LaplaceDistribution" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:LaplaceDistribution:ContGen:9" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:genContVar">genContVar</a> :: <a href="file:///usr/share/doc/libghc-primitive-doc/html/Control-Monad-Primitive.html#t:PrimMonad">PrimMonad</a> m => <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/libghc-mwc-random-doc/html/System-Random-MWC.html#t:Gen">Gen</a> (<a href="file:///usr/share/doc/libghc-primitive-doc/html/Control-Monad-Primitive.html#t:PrimState">PrimState</a> m) -> m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="src/Statistics-Distribution.html#genContVar" class="link">Source</a> <a href="#v:genContVar" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:LaplaceDistribution:Entropy:10" class="instance expander" onclick="toggleSection('i:id:LaplaceDistribution:Entropy:10')"></span> <a href="Statistics-Distribution.html#t:Entropy">Entropy</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a></span> <a href="src/Statistics-Distribution-Laplace.html#line-78" class="link">Source</a> <a href="#t:LaplaceDistribution" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:LaplaceDistribution:Entropy:10" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:entropy">entropy</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="src/Statistics-Distribution.html#entropy" class="link">Source</a> <a href="#v:entropy" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:LaplaceDistribution:MaybeEntropy:11" class="instance expander" onclick="toggleSection('i:id:LaplaceDistribution:MaybeEntropy:11')"></span> <a href="Statistics-Distribution.html#t:MaybeEntropy">MaybeEntropy</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a></span> <a href="src/Statistics-Distribution-Laplace.html#line-81" class="link">Source</a> <a href="#t:LaplaceDistribution" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:LaplaceDistribution:MaybeEntropy:11" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:maybeEntropy">maybeEntropy</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="src/Statistics-Distribution.html#maybeEntropy" class="link">Source</a> <a href="#v:maybeEntropy" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:LaplaceDistribution:Variance:12" class="instance expander" onclick="toggleSection('i:id:LaplaceDistribution:Variance:12')"></span> <a href="Statistics-Distribution.html#t:Variance">Variance</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a></span> <a href="src/Statistics-Distribution-Laplace.html#line-68" class="link">Source</a> <a href="#t:LaplaceDistribution" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:LaplaceDistribution:Variance:12" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:variance">variance</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="src/Statistics-Distribution.html#variance" class="link">Source</a> <a href="#v:variance" class="selflink">#</a></p><p class="src"><a href="#v:stdDev">stdDev</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="src/Statistics-Distribution.html#stdDev" class="link">Source</a> <a href="#v:stdDev" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:LaplaceDistribution:MaybeVariance:13" class="instance expander" onclick="toggleSection('i:id:LaplaceDistribution:MaybeVariance:13')"></span> <a href="Statistics-Distribution.html#t:MaybeVariance">MaybeVariance</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a></span> <a href="src/Statistics-Distribution-Laplace.html#line-74" class="link">Source</a> <a href="#t:LaplaceDistribution" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:LaplaceDistribution:MaybeVariance:13" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:maybeVariance">maybeVariance</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="src/Statistics-Distribution.html#maybeVariance" class="link">Source</a> <a href="#v:maybeVariance" class="selflink">#</a></p><p class="src"><a href="#v:maybeStdDev">maybeStdDev</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="src/Statistics-Distribution.html#maybeStdDev" class="link">Source</a> <a href="#v:maybeStdDev" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:LaplaceDistribution:Mean:14" class="instance expander" onclick="toggleSection('i:id:LaplaceDistribution:Mean:14')"></span> <a href="Statistics-Distribution.html#t:Mean">Mean</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a></span> <a href="src/Statistics-Distribution-Laplace.html#line-65" class="link">Source</a> <a href="#t:LaplaceDistribution" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:LaplaceDistribution:Mean:14" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:mean">mean</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="src/Statistics-Distribution.html#mean" class="link">Source</a> <a href="#v:mean" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:LaplaceDistribution:MaybeMean:15" class="instance expander" onclick="toggleSection('i:id:LaplaceDistribution:MaybeMean:15')"></span> <a href="Statistics-Distribution.html#t:MaybeMean">MaybeMean</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a></span> <a href="src/Statistics-Distribution-Laplace.html#line-71" class="link">Source</a> <a href="#t:LaplaceDistribution" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:LaplaceDistribution:MaybeMean:15" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:maybeMean">maybeMean</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="src/Statistics-Distribution.html#maybeMean" class="link">Source</a> <a href="#v:maybeMean" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:LaplaceDistribution:ContDistr:16" class="instance expander" onclick="toggleSection('i:id:LaplaceDistribution:ContDistr:16')"></span> <a href="Statistics-Distribution.html#t:ContDistr">ContDistr</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a></span> <a href="src/Statistics-Distribution-Laplace.html#line-60" class="link">Source</a> <a href="#t:LaplaceDistribution" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:LaplaceDistribution:ContDistr:16" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:density">density</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="src/Statistics-Distribution.html#density" class="link">Source</a> <a href="#v:density" class="selflink">#</a></p><p class="src"><a href="#v:quantile">quantile</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="src/Statistics-Distribution.html#quantile" class="link">Source</a> <a href="#v:quantile" class="selflink">#</a></p><p class="src"><a href="#v:logDensity">logDensity</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="src/Statistics-Distribution.html#logDensity" class="link">Source</a> <a href="#v:logDensity" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:LaplaceDistribution:Distribution:17" class="instance expander" onclick="toggleSection('i:id:LaplaceDistribution:Distribution:17')"></span> <a href="Statistics-Distribution.html#t:Distribution">Distribution</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a></span> <a href="src/Statistics-Distribution-Laplace.html#line-56" class="link">Source</a> <a href="#t:LaplaceDistribution" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:LaplaceDistribution:Distribution:17" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:cumulative">cumulative</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="src/Statistics-Distribution.html#cumulative" class="link">Source</a> <a href="#v:cumulative" class="selflink">#</a></p><p class="src"><a href="#v:complCumulative">complCumulative</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="src/Statistics-Distribution.html#complCumulative" class="link">Source</a> <a href="#v:complCumulative" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:LaplaceDistribution:Rep:18" class="instance expander" onclick="toggleSection('i:id:LaplaceDistribution:Rep:18')"></span> <span class="keyword">type</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t:Rep">Rep</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a></span> <a href="src/Statistics-Distribution-Laplace.html#line-42" class="link">Source</a> <a href="#t:LaplaceDistribution" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:LaplaceDistribution:Rep:18" class="inst-details hide"><div class="src"><span class="keyword">type</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t:Rep">Rep</a> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t:D1">D1</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#v:MetaData">MetaData</a> "LaplaceDistribution" "Statistics.Distribution.Laplace" "statistics-0.13.3.0-61t4sfkA9W9IQORavex1LW" <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:False">False</a>) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t:C1">C1</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#v:MetaCons">MetaCons</a> "LD" <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#v:PrefixI">PrefixI</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:True">True</a>) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t::-42-:">(:*:)</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t:S1">S1</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#v:MetaSel">MetaSel</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Just">Just</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-TypeLits.html#t:Symbol">Symbol</a> "ldLocation") <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#v:SourceUnpack">SourceUnpack</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#v:SourceStrict">SourceStrict</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#v:DecidedUnpack">DecidedUnpack</a>) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t:Rec0">Rec0</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a>)) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t:S1">S1</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#v:MetaSel">MetaSel</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Just">Just</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-TypeLits.html#t:Symbol">Symbol</a> "ldScale") <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#v:SourceUnpack">SourceUnpack</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#v:SourceStrict">SourceStrict</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#v:DecidedUnpack">DecidedUnpack</a>) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/GHC-Generics.html#t:Rec0">Rec0</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a>))))</div></div></td></tr></table></div></div></div><h1 id="g:1">Constructors</h1><div class="top"><p class="src"><a id="v:laplace" class="def">laplace</a> <a href="src/Statistics-Distribution-Laplace.html#laplace" class="link">Source</a> <a href="#v:laplace" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></td><td class="doc"><p>Location</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></td><td class="doc"><p>Scale</p></td></tr><tr><td class="src">-> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Create an Laplace distribution.</p></div></div><div class="top"><p class="src"><a id="v:laplaceFromSample" class="def">laplaceFromSample</a> :: <a href="Statistics-Types.html#t:Sample">Sample</a> -> <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> <a href="src/Statistics-Distribution-Laplace.html#laplaceFromSample" class="link">Source</a> <a href="#v:laplaceFromSample" class="selflink">#</a></p><div class="doc"><p>Create Laplace distribution from sample. No tests are made to
check whether it truly is Laplace. Location of distribution
estimated as median of sample.</p></div></div><h1 id="g:2">Accessors</h1><div class="top"><p class="src"><a id="v:ldLocation" class="def">ldLocation</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="src/Statistics-Distribution-Laplace.html#ldLocation" class="link">Source</a> <a href="#v:ldLocation" class="selflink">#</a></p><div class="doc"><p>Location.</p></div></div><div class="top"><p class="src"><a id="v:ldScale" class="def">ldScale</a> :: <a href="Statistics-Distribution-Laplace.html#t:LaplaceDistribution">LaplaceDistribution</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="src/Statistics-Distribution-Laplace.html#ldScale" class="link">Source</a> <a href="#v:ldScale" class="selflink">#</a></p><div class="doc"><p>Scale.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.2</p></div></body></html>
|