We will briefly explain why we would be interested in implementing exact logistic regression, then provides C++ and R codes. 1. Why exact test? Since we want to have a clear mind of how likely/unlikely the realization we observed. In the classic example of 2×2 table without covariates, especially the 2×2 table has very few […]

•  January 29, 2011
•  Tagged with:

Reason: I used strtod() function in C, forgot to set errno to 0, then after calling strtod(), the value of errno is unpredictable. When found the bug: I tried to use Ptyhon ctypes module. In script mode, python pyCtypes.py always crash but in command line mode, the code becomes all right. It’s mysterious running Python […]

I tried to show 10 pictures using NextGEN gallery gallery, as following: Another useful tag is to use “imagebrowser”, it will show bigger pictures with their titles, total picture counts. Note, there are no spaces after [ and before ]. Detail documentation: http://wordpress.org/extend/plugins/nextgen-gallery/faq/