Perl scripts for data analysis
These scripts give target-correct identification rates for various
conditions, for all subjects. Layout is one condition per column, one
subject per line. The set of conditions differs between scripts. You most
certainly want to make your own.
- i1 (vowel pair) x (deltaF0) x (level)
- i2 (deltaF0) x (level)
- i3 (level)
- i4 (deltaF0)
- i5 (vowel pair)
- i6 (vowel pair) x (deltaF0 = 0) x (level)
This script takes data from the previous scripts and calculates mean
and standard deviation over subjects:
This one simply transposes (tab-spaced columns <--> cr-spaced lines):
Example (supposing system is UNIX, and data are in directory 'data/'):
i4 data/* | msd | transp
reports the mean and standard deviation (over subjects) of identification
rate for all four dF0 conditions, averaged over vowel pair and level (main
effect of dF0). The data are transposed to obtain one condition per line.