Ben Chuanlong Du's Blog

And let it direct your passion with reason.

Install Python Packages Using pip

PyPi Statistics

You can check download statistics of Python Packages on PYPI at https://pypistats.org/. This is especially helpful if you want to choose from multiple packages.

Prefer pip

pip is preferred over OS tools (e.g., apt-get, yum, wajig, aptitude, etc.) for managing Python packages. If you are …

Useful Packages and Commands for LaTex

Math Packages

  1. \usepackage{amssymb}
    • popular math fonts
  2. \usepackage{dsfont}
    • \mathds font
  3. \usepackage{bm} % bold math symbols
    • bold math symbols
  4. \usepackage{amsmath}
    • math formulas.
  5. \usepackage{amsthm}
    • theorem environments
    • proof enviroment

List Packages

  1. \usepackage{enumerate}
    • universal list

Graphics Packages

  1. \usepackage{ifpdf}
    • allow including figures without extensions and select the right type of …

Estimation of False Discovery Rate using Sequential Permutation Pvalues

I wrote a paper on sequential permutation test with Tim Bancroft and Dan Nettleton. The paper "T. Bancroft, C. Du and D. Nettleton (2012). Estimation of False Discovery Rate Using Sequential Permutation P­Values." has been accepted by Biometrics. To illustrate ideas in the paper and make sequential permutation test …