This file is indexed.

/usr/share/doc/libghc-statistics-doc/html/Statistics-Test-ChiSquared.html is in libghc-statistics-doc 0.13.2.3-4build1.

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
12
<!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.Test.ChiSquared</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Statistics-Test-ChiSquared.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Statistics-Test-ChiSquared.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.2.3: A library of statistical types, data, and functions</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Statistics.Test.ChiSquared</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Data types</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Pearson's chi squared test.</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"><a href="#v:chi2test">chi2test</a> :: (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Generic.html#t:Vector">Vector</a> v (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a>), <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Generic.html#t:Vector">Vector</a> v <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a>) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; v (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a>) -&gt; <a href="Statistics-Test-ChiSquared.html#t:TestResult">TestResult</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:TestType">TestType</a><ul class="subs"><li>= <a href="#v:OneTailed">OneTailed</a></li><li>| <a href="#v:TwoTailed">TwoTailed</a></li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:TestResult">TestResult</a><ul class="subs"><li>= <a href="#v:Significant">Significant</a></li><li>| <a href="#v:NotSignificant">NotSignificant</a></li></ul></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:chi2test" class="def">chi2test</a> <a href="src/Statistics-Test-ChiSquared.html#chi2test" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Generic.html#t:Vector">Vector</a> v (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a>), <a href="file:///usr/share/doc/libghc-vector-doc/html/Data-Vector-Generic.html#t:Vector">Vector</a> v <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a>)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a></td><td class="doc"><p>p-value</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>Number of additional degrees of
   freedom. One degree of freedom
   is due to the fact that the are
   N observation in total and
   accounted for automatically.</p></td></tr><tr><td class="src">-&gt; v (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a>)</td><td class="doc"><p>Observation and expectation.</p></td></tr><tr><td class="src">-&gt; <a href="Statistics-Test-ChiSquared.html#t:TestResult">TestResult</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Generic form of Pearson chi squared tests for binned data. Data
   sample is supplied in form of tuples (observed quantity,
   expected number of events). Both must be positive.</p></div></div><h1 id="g:1">Data types</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:TestType" class="def">TestType</a> <a href="src/Statistics-Test-Types.html#TestType" class="link">Source</a></p><div class="doc"><p>Test type. Exact meaning depends on a specific test. But
 generally it's tested whether some statistics is too big (small)
 for <code><a href="Statistics-Test-ChiSquared.html#v:OneTailed">OneTailed</a></code> or whether it too big or too small for <code><a href="Statistics-Test-ChiSquared.html#v:TwoTailed">TwoTailed</a></code></p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:OneTailed" class="def">OneTailed</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:TwoTailed" class="def">TwoTailed</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:TestType" class="caption collapser" onclick="toggleSection('i:TestType')">Instances</p><div id="section.i:TestType" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Statistics-Test-ChiSquared.html#t:TestType">TestType</a></span> <a href="src/Statistics-Test-Types.html#line-18" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Data.html#t:Data">Data</a> <a href="Statistics-Test-ChiSquared.html#t:TestType">TestType</a></span> <a href="src/Statistics-Test-Types.html#line-18" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Statistics-Test-ChiSquared.html#t:TestType">TestType</a></span> <a href="src/Statistics-Test-Types.html#line-18" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Statistics-Test-ChiSquared.html#t:TestType">TestType</a></span> <a href="src/Statistics-Test-Types.html#line-18" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t:Generic">Generic</a> <a href="Statistics-Test-ChiSquared.html#t:TestType">TestType</a></span> <a href="src/Statistics-Test-Types.html#line-18" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:ToJSON">ToJSON</a> <a href="Statistics-Test-ChiSquared.html#t:TestType">TestType</a></span> <a href="src/Statistics-Test-Types.html#line-21" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Statistics-Test-ChiSquared.html#t:TestType">TestType</a></span> <a href="src/Statistics-Test-Types.html#line-20" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="keyword">type</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t:Rep">Rep</a> <a href="Statistics-Test-ChiSquared.html#t:TestType">TestType</a></span> <a href="src/Statistics-Test-Types.html#line-16" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:TestResult" class="def">TestResult</a> <a href="src/Statistics-Test-Types.html#TestResult" class="link">Source</a></p><div class="doc"><p>Result of hypothesis testing</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Significant" class="def">Significant</a></td><td class="doc"><p>Null hypothesis should be rejected</p></td></tr><tr><td class="src"><a name="v:NotSignificant" class="def">NotSignificant</a></td><td class="doc"><p>Data is compatible with hypothesis</p></td></tr></table></div><div class="subs instances"><p id="control.i:TestResult" class="caption collapser" onclick="toggleSection('i:TestResult')">Instances</p><div id="section.i:TestResult" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Statistics-Test-ChiSquared.html#t:TestResult">TestResult</a></span> <a href="src/Statistics-Test-Types.html#line-26" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Data.html#t:Data">Data</a> <a href="Statistics-Test-ChiSquared.html#t:TestResult">TestResult</a></span> <a href="src/Statistics-Test-Types.html#line-26" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Statistics-Test-ChiSquared.html#t:TestResult">TestResult</a></span> <a href="src/Statistics-Test-Types.html#line-26" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Statistics-Test-ChiSquared.html#t:TestResult">TestResult</a></span> <a href="src/Statistics-Test-Types.html#line-26" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t:Generic">Generic</a> <a href="Statistics-Test-ChiSquared.html#t:TestResult">TestResult</a></span> <a href="src/Statistics-Test-Types.html#line-26" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:ToJSON">ToJSON</a> <a href="Statistics-Test-ChiSquared.html#t:TestResult">TestResult</a></span> <a href="src/Statistics-Test-Types.html#line-29" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Statistics-Test-ChiSquared.html#t:TestResult">TestResult</a></span> <a href="src/Statistics-Test-Types.html#line-28" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="keyword">type</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t:Rep">Rep</a> <a href="Statistics-Test-ChiSquared.html#t:TestResult">TestResult</a></span> <a href="src/Statistics-Test-Types.html#line-24" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>