Repository navigation
ENH: Add Gwet's AC1 - #8958
ENH: Add Gwet's AC1#8958swflint wants to merge 2 commits into
Conversation
4f57531 to
f4cedd6
Compare
|
Thanks for the PR. Sounds interesting but I never heard of it (which is not surprising given my weak background in this area) and I will need to briefly read up on it, e.g. https://www.sciencedirect.com/science/article/pii/S2215016123002108 I'm currently on vacation and will look at it early August. |
|
@josef-pkt Is there anything I can do to make this a bit easier to review? |
|
Looks good to me, and I will merge it (doing a rebase) The new Gwet AC functions return a single number, which is ok. In other cases we use One problem is the default for Current cohens_kappa has Trying to read up on Gwet AC, I got confused again about whether an article uses the 2-raiter or many multi-rater method. Aside: |
|
I am happy to rebase & add support for return_results. |
|
Is it possible to add here standard error and confidence interval for ac1? Gwet's package has it |
|
BTW: I looked at some articles that recommend AC1, and popularity has increasing in recent years (overtaking kappa in one study I saw) So, this is a very useful addition. |
I can try -- I have his book, so it should be doable in the next few weeks.
I don't think it should be that difficult. I may bug some folks I work with to add some more IRR values, too. |
|
(wasting) a few more hours trying to figure out a bit what is going on in this literature. "Gwet's AC1 is not a substitute for Cohen's kappa – A comparison of basic properties" I was playing with a numerical example for kappa (no ac1 yet), where the prevalence is also affected by the population prevalence. Related: Honda, Chikara, and Tetsuji Ohyama. 2020. “Homogeneity Score Test of AC1 Statistics and Estimation of Common AC1 in Multiple or Stratified Inter-Rater Agreement Studies.” BMC Medical Research Methodology 20 (1): 20. https://doi.org/10.1186/s12874-019-0887-5. Aside: |
|
If I ever have time (ha!), I may try to get some of the other IRR metrics written up, but I'm not a statistician, and don't do a ton of mathematical programming. |
This implements Gwet's AC_1 (for two and three or more raters) and adds the relevant tests.