Codes used for Test-retest study in ASD study (Beker et al., Journal of Neurodevelopmental Disorders, 2021). Includes the following functions:
- Correlation_Intraclass: calculates Intraclass Correlation (calling ICC function), based on test-test ERP and behavioral data.
- ICC: function for calculation of Intraclass Correlation ((c) Arash Salarian, 2008)
- chiSquareSexDiff: Calculates sex diffferences between excluded and included samples.
- corrmatrix_all: Calculates correlation matrix from a csv file. input: string of csvTable name. output: correlation matrix MAT.
- pearsonTestRetest: Pearson correlations on all test-retest pairs
- similaityIndex: Calculates a composite score for each individul based on the ICC score table.
- plotICC_numberTrials: plots changes in ICC as a function of number of trials used.