This repository contains the stimulated power analysis under linear mixed modelling setting, TFCE under linear mixed modelling setting.
This project is updated from codes used in my PhD work (from cognition to computation: an insight from word production) and aims to address the following research related questions:
- How to calculate the sample size in the experimental design with two fully-crossed random variables (e.g., within subject and within target word experimental design).
- How to extract the relationship of word patterns from a large-scale corpus?
- How to conduct the testing for datasets under high-dimensional setting (e.g., EEG data)?
To run this Project, you will need the following:
- R (> 3.6)
With a given experimental materials, a Power Analysis was conducted to validate the number of participants. See the an example result for 2-by-2 experimental design within subject and target word (which are fully crossed) as following:
The behavioral data analysis can be conducted:
Exp02_BehaviouralAnalysis.Rmd
:
EEG data analysis includes: data preprocessing, feature extraction and statistcial modelling.
EEG_Step01_PreproEEG_Batch.m
:EEG_Step02_PreproEEG.m
:EEG_Step03_PreproRemovthreshold.m
:EEG_Step_04_ExploratoryERPPermutation.m
:
Exp02_ExploratoryERP.Rmd
:Exp02_ERPPlannedAnalysis.Rmd
: