You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@madlib.apache.org by "Rahul Iyer (JIRA)" <ji...@apache.org> on 2016/02/29 20:28:18 UTC

[jira] [Resolved] (MADLIB-895) Incorrect examples in hypothesis tests documentation

     [ https://issues.apache.org/jira/browse/MADLIB-895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rahul Iyer resolved MADLIB-895.
-------------------------------
    Resolution: Fixed

Fixed with [0545cdf|https://github.com/apache/incubator-madlib/commit/0545cdfc499354820af670b627a2769ae6af75b1]

> Incorrect examples in hypothesis tests documentation
> ----------------------------------------------------
>
>                 Key: MADLIB-895
>                 URL: https://issues.apache.org/jira/browse/MADLIB-895
>             Project: Apache MADlib
>          Issue Type: Bug
>          Components: Module: Inferential Statistics
>            Reporter: Rahul Iyer
>            Assignee: Frank McQuillan
>            Priority: Minor
>             Fix For: v1.9
>
>
> The SQL and results for the example for Chi-2 tests is wrong. The documentation shows the result as 
> {code}
>      statistic     |       p_value        | df |       phi        | contingency_coef
>  ------------------+----------------------+----+------------------+-------------------
>   138.289841626008 | 2.32528678709871e-25 |  9 | 2.93991753313346 | 0.946730727519112
> {code}
> whereas it should be, 
> {code}
>     statistic     |       p_value        | df |       phi       | contingency_coef
> ------------------+----------------------+----+-----------------+-------------------
>  320.125868955635 | 1.39464882809491e-63 |  9 | 4.4730154045931 | 0.975909209031126
> (1 row)
> {code}
> The SQL also has a couple of errors and does not run as is.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)