Skip to content

A R script that reads two sets of scores from a JSON file and calculates the intraclass correlation coefficient (ICC) to compare them. Results are saved in a text document. Designed for psychological research.

Notifications You must be signed in to change notification settings

dusanvin/Psych-ICC.R

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Psych-ICC.R

Psych-ICC.R is a R script that reads two sets of scores from a JSON file and calculates the Intraclass Correlation Coefficient (ICC) to compare them. Results are saved in a text document. Designed for psychological research.

Project Structure

Psych-ICC.R

The main program where the calculation takes place. Change INSERT-YOUR-FILE-HERE.JSON to the JSON file containing the ratings.

INSERT-YOUR-FILE-HERE.JSON

The sample JSON file containing ratings from human_rater and ai_rater. Replace the ratings with your own.

ICC-output.txt

The text file that contains the calculations, e.g.,

Intraclass Correlation Coefficient (ICC)
----------------------------------------
Model: twoway
Type: agreement
Subjects: 149
Raters: 2
ICC = 0.569
95% CI [0.236, 0.745]
p = 0.000915

May your ICCs be high and your p-values low!

About

A R script that reads two sets of scores from a JSON file and calculates the intraclass correlation coefficient (ICC) to compare them. Results are saved in a text document. Designed for psychological research.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages