jasp-stats / jasp-issues

This repository is solely meant for reporting of bugs, feature requests and other issues in JASP.
58 stars 29 forks source link

[Bug]: Rater Agreement Issue #2889

Open overossm opened 2 weeks ago

overossm commented 2 weeks ago

JASP Version

0.19.0

Commit ID

No response

JASP Module

Reliability

What analysis are you seeing the problem on?

Fleiss' kappa

What OS are you seeing the problem on?

macOS Silicon

Bug Description

JASP Dissertation Coding Data Sept. 2024.jasp.zip

I am trying to calculate fleiss' kappa for five raters. When I add a third variable, it brings up the error I pasted below.

This analysis terminated unexpectedly.

Error in ratings[i, ]: subscript out of bounds

Stack trace tryCatchOne(expr, names, parentenv, handlers[[1]])

doTryCatch(return(expr), name, parentenv, handler)

withCallingHandlers(expr = analysis(jaspResults = jaspResults, dataset = dataset, options = options), error = .addStackTrace)

analysis(jaspResults = jaspResults, dataset = dataset, options = options)

.computeFleissKappaTable(dataset, options, ready)

.fleissKappaMod(dataset, detail = TRUE)

Expected Behaviour

provide fleiss' kappa coeffeicient result

Steps to Reproduce

No not with different data

Log (if any)

No response

More Debug Information

This analysis terminated unexpectedly.

Error in ratings[i, ]: subscript out of bounds

Stack trace tryCatchOne(expr, names, parentenv, handlers[[1]])

doTryCatch(return(expr), name, parentenv, handler)

withCallingHandlers(expr = analysis(jaspResults = jaspResults, dataset = dataset, options = options), error = .addStackTrace)

analysis(jaspResults = jaspResults, dataset = dataset, options = options)

.computeFleissKappaTable(dataset, options, ready)

.fleissKappaMod(dataset, detail = TRUE)

Final Checklist

juliuspfadt commented 1 week ago

@overossm thanks for creating the issue. I cannot reproduce an error with the jasp file you attached. Can you try creating it again and this time only use the one analysis that gives an error?

tomtomme commented 1 week ago

@juliuspfadt @overossm I also get no error with that file on 0.19 flatpak. Did you test on macos julius?

boutinb commented 1 week ago

I have a Mac Silicon, and I don't get any error either... Can you specify exactly step by step what you do to get this error?

juliuspfadt commented 1 week ago

I tested on macOS silicon yes.