bugPSPP - Bugs: bug #61510, Defining categories as 1, 0...

 
 

bug #61510: Defining categories as 1, 0 instead of 0, 1 in Kruskal, shows erroneous results

Submitted by:  elias tsolis <estatistics>
Submitted on:  Fri 19 Nov 2021 08:43:07 PM UTC
 
Category:  Numerical Errors Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

Sat 01 Jan 2022 09:13:18 AM UTC, comment #2: 

I pushed a fix for this.

(Arguably this was not a bug, because the faulty behaviour occurs only if the "lower" bound that the user gives is higher than the "upper" bound.  However I pushed a fix which allows the bounds to be specified in either order)

John Darrington <jmd>
Project Administrator
Fri 19 Nov 2021 08:44:22 PM UTC, comment #1: 

EDIT eg.
NPAR TEST /KRUSKAL-WALLIS = followup BY Death (0, 1) . 
  --> (right results)
NPAR TEST /KRUSKAL-WALLIS = followup BY Death (1, 0) .
  --> (erroneous results)

elias tsolis <estatistics>
Fri 19 Nov 2021 08:43:07 PM UTC, original submission:  

Defining categories as 1, 0 instead of 0, 1 in Kruskal, shows erroneous results

eg.

NPAR TEST /KRUSKAL-WALLIS = followup BY Death (0, 1) .  
  --> (erroneous results)
NPAR TEST /KRUSKAL-WALLIS = followup BY Death (1, 0) .
  --> (right results)

What have not tested:
@ If this true to other tests
@ if this can happen to other coding schemes eg. 1 & 2 / 2 & 1 etc.

elias tsolis <estatistics>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #52298:  example.sav added by estatistics (808B - application/x-spss-sav - coding scheme results error results)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jmd (Posted a comment)
  • -email is unavailable- added by estatistics (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-01-01 jmd StatusNone => Fixed
        Open/ClosedOpen => Closed
    2021-11-19 estatistics Attached File- => Added example.sav, #52298

    Back to the top


    Powered by Savane 3.9