Xu Cui
•
544 Stories by Xu Cui
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
Tools: SPM, cor2mni Assume the image is “a.img”, do v = spm_vol('a.img'); v.mat If v.mat is a diagonal matrix, you can simply read the number and they are the voxel size in mm. If not, a trick is to calculate the distance between adjacent
Here are some parameters in matlab lighting. I first use patch command to plot the surface, then use camlight to shed some light on the surface.
In your AIR application, if you overwrite the application menu, you might find that the keyboard shortcuts (e.g. Cmd-C, V) doesn’t work under Mac. It seems the “Edit” menu in the default application is essential to these functions.
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 variable is continuous. Here I tried some very simple c
This is an example of brain activation plotted on surface. In many circumstances surface view is much more straightforward than a slice view. Here is how I created such a plot using MatLab and SPM. Environment and Tools: Windows XP MatLab (v7.6) SPM
We use TCP/UDP/IP Toolbox 2.0.5 to read and write data from/to a TCPIP port. It’s fast and reliable. The version we use is 2.0.5. Below is a matlab sample script showing how to connect to another computer (called ETG-4000) with TCPIP : %Connect