I dabble in scripting and have made the following simple tools to help with various [mostly Chinese- and Uyghur-related] computational tasks:

- Convert Han characters to Unicode strings
- Count strokes in Han characters
- Count homophones of Han characters
- Convert text between various Uyghur scripts

Stats tools

- Simulation-based power analysis for ERPs (Shiny app)
- Some R functions (load into R using
`source( url("http://www.polyu.edu.hk/cbs/sjpolit/Steve_functions.txt") )`

). Includes things such as:- Function for Cousineau-Morey within-subject confidence intervals
- Version of pirateplot() modified to plot confidence intervals instead of HDIs (documentation and examples)

Tutorials

- Tutorial on coding for categorical variables in regression
- Demonstration of what confidence intervals mean
- Tutorial on within-subjects confidence intervals
- Tutorial on logistic regression coefficients and marginal estimates
- Slides and examples from past workshops
- UCL workshop on mixed-effects modeling in R (18-20 May 2016)
- Jinan workshop on ERP analysis (30 May - 2 June 2017)
- Importing VoiceSauce acoustic data into R
- Presentation PCL tutorial: some simple scripts for a crash course in how to code experiments in Presentation PCL, an experiment control language that has a high learning curve but is very flexible and powerful once you know it. download [26 KB .zip]
- \(\LaTeX\) tutorial slides and examples from a workshop I did in 2010. Every linguist and their grandmother has \(\LaTeX\) materials like this online, and most are better than mine. But I do have pretty syntax trees.

Documents

- Funded grant proposals (I don't really know what causes some grants to get funded and others not, but at least here are some examples in case they will be helpful for anyone):
- Hong Kong Research Grants Council Early Career Scheme #25606117: proposal [PDF], review comments [ZIP]
- Hong Kong Research Grants Council General Research Fund #15605620: proposal [PDF]
- Compilation of resources and readings about pre-registration