Uploaded image for project: 'Apache MADlib'
  1. Apache MADlib
  2. MADLIB-895

Incorrect examples in hypothesis tests documentation

VotersStop watchingWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      The SQL and results for the example for Chi-2 tests is wrong. The documentation shows the result as

           statistic     |       p_value        | df |       phi        | contingency_coef
       ------------------+----------------------+----+------------------+-------------------
        138.289841626008 | 2.32528678709871e-25 |  9 | 2.93991753313346 | 0.946730727519112
      

      whereas it should be,

          statistic     |       p_value        | df |       phi       | contingency_coef
      ------------------+----------------------+----+-----------------+-------------------
       320.125868955635 | 1.39464882809491e-63 |  9 | 4.4730154045931 | 0.975909209031126
      (1 row)
      

      The SQL also has a couple of errors and does not run as is.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            fmcquillan Frank McQuillan
            riyer Rahul Iyer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment