Check out my published PhD work including links to analysis code and EEG data (n=83):
www.nature.com/articles/s44...
Big thank you to my co-authors, the editor and the reviewers.

Pre-stimulus beta power mediates explicit and implicit perceptual biases in distinct cortical areas - Communications Psychology
Two EEG studies in healthy human adults suggest that choice history and stimulus probability-induced biases in somatosensory perception are reflected in distinct prestimulus beta power modulations acr...