Can you find any pattern in the two signals, green and blue? The blue signal is the brain wave (measured by NIRS) of a person when he is pressing some buttons (the timing of button pressing is shown i
Wavelet transform coherence (WTC) is a method for analyzing the coherence and phase lag between two time series as a function of both time and frequency (Chang and Glover 2010). Here I played with it
SVM is mostly commonly used for binary classifications. But one branch of SVM, SVM regression or SVR, is able to fit a continuous function to data. This is particularly useful when the predicted varia
Update 2021/2/27: If you find griddata3 not working, try to change griddata3 to griddata. I was asked where to get nirs2img script. Here it is. The download link is at the bottom of this article. nirs2img is to create an image file from the input data. Then theimage file can be viewed by a
Quite often you need to convert an image (or multiple images) to a MatLab matrix for further analysis and visualization (e.g. extracting time series, multivariate pattern analysis, etc). SPM provides handy functions for this: P = spm_select; % select
Standard deviation (std): standard deviation of the sample Standard error, or standard error of the mean (sem), is the standard deviation of the mean. \(sem=std/\sqrt{N}\) Most errorbars in scientific publications refer to standard error. Quite often
David is an amazing person: he has published 5 papers in Nature and 1 in Science, two of which were published this year. Check out what he says in Peaya interview (click the photo below).
I noticed that gmail will remind you if you have something like “… is attached” in the email body but actually you don’t attach any files. This is very considerate.
If variable X and Y has correlation 0.1, how much does it help to predict Y based on X? In the simplest binary case, the probability (p) to correctly predict Y based on X is a linear function of correlation (c), i.e. $$p=\frac{c+1}{2}$$ That means, a
Null hypothesis (H0): Octopus Paul doesn’t have the ability to predict. Or, the probability that he predicts correctly on each event is 1/2. Data: In 2010 World Cup, Octopus Paul correctly predicted the outcomes of 8 games out of 8 games. p-Val
The goal of Peaya is to make your academic life more fun and more productive. Peaya Comics Comic strips about our academia life – the excitement, joy, depression, and pain. We hope the strips will make you smile. Below is the latest comics: Peaya P