Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
tools:antisaccade [2025/03/28 16:35] – [Exclusion Criteria] vid79 | tools:antisaccade [2025/04/01 12:41] (current) – [EOG Data] code formatting, add link will | ||
---|---|---|---|
Line 72: | Line 72: | ||
Raw files from EEG are .bdf and can be read immediately into MATLAB script | Raw files from EEG are .bdf and can be read immediately into MATLAB script | ||
- | - Open MATLAB scoring script '' | + | - Open MATLAB scoring script |
- | - Identify data location [if Habit: / | + | - Identify data location [if Habit: |
- | - Grab subject*_anti.bdf and subject*_eyecal.bdf | + | - Grab '' |
- | - Information on stimulus channel output [https:// | + | - Information on stimulus channel output, see [[https:// |
- Run script? Should export long-format csv with all variables of interest that can be pulled into R | - Run script? Should export long-format csv with all variables of interest that can be pulled into R | ||
Line 83: | Line 83: | ||
- Data should have a row for every trial (repeating lunaid) and saccade information per column (ex: dot position, trial type, latency, number of saccades, and computed event outcome) | - Data should have a row for every trial (repeating lunaid) and saccade information per column (ex: dot position, trial type, latency, number of saccades, and computed event outcome) | ||
- Clean data by extracting lunaid, visit date, neutral vs reward trials, mutate variables you want like mean latency of correct trials, correct response rate (percent of correct trials; accuracy), percent of error corrected trials (error rate), latency variability for correct trials | - Clean data by extracting lunaid, visit date, neutral vs reward trials, mutate variables you want like mean latency of correct trials, correct response rate (percent of correct trials; accuracy), percent of error corrected trials (error rate), latency variability for correct trials | ||
- | - Turn to wide format so each row represents a single participant [see code / | + | - Turn to wide format so each row represents a single participant [see code '' |
Line 89: | Line 89: | ||
- | - Analyze variables of interest [ / | + | - Analyze variables of interest ['' |
- | - | ||
===== EEG Data (EPrime) ===== | ===== EEG Data (EPrime) ===== |