Informal articles

This page contains some informal how-to articles, most of which started as personal notes. Academic articles are listed here.

I also have a blog called The Endeavour (RSS). See also my list of math and and stat articles by category, combining blog postings and longer articles.

PowerShell
Statistics
Math
Misc

 

PowerShell

PowerShell is a new shell for Windows. After decades of having a wimpy command line compared to Unix, Microsoft produced a shell more powerful than its Unix counterparts. The biggest difference is that while Unix shells pipe text, PowerShell pipes objects.

PowerShell gotchas lists the top five features a new users might find frustrating and gives a justification for each.

PowerShell Cookbook is a set of things I found useful while learning to use PowerShell.

Regular Expressions in PowerShell and Perl explains how to use regular expressions in PowerShell, comparing PowerShell's syntax to Perl's syntax. A similar page compares Regular Expressions in Python and Perl.

PowerShell Script for Reviewing Text Shown to Users article and source code CodeProject.

Automated Extract and Build from Team System using PowerShell article and source code on CodeProject.

 

Statistics

Even though it has become more common to share data, the analysis of data typically has gaps that are difficult for a third party to fill in. Reproducible analysis is an attempt to make it easier to reproduce statistical analyses.

Troubleshooting Sweave is a set of notes on how to use Sweave, a literate programming tool for R that helps with reproducibility.

R is a statistical environment and programming language. As a programming language, R is rather unconventional. I wrote up the notes R for Programmers to give an introduction to R for people coming from other programming languages, hoping to spare them some of the pain I experienced.

The most common illustration of Bayes' theorem is false positive rates in tests for rare diseases. Most presentations are too brief and too abstract to absorb on first reading. This note, Canonical example of Bayes' theorem in detail, risks erring in the opposite direction. It works out a concrete example in great detail before using Bayes' theorem.

In our work on EffTox dose-finding, Peter Thall and I came up with what we call “satellite plots.” Here are some notes on using satellite plots.

 

Math

Avoiding overflow, underflow, and loss of precision article on basic numerical computing posted on CodeProject. See also my blog post Overflow and loss of precision for another simple example discussed in detail.

Chebyshev polynomials are elegant and useful. These notes summarize and prove their basic properties.

Orthogonal polynomials and Gaussian Quadrature shows the connections between orthogonal polynomials, like Chebyshev polynomials, and numerical integration.

Relating two definitions of expectation explains the elementary and advanced definitions of expectation of a random variable and proves they are equivalent.

Step size for numerical differential equations gives guidance for how to select the step size when solving ODEs with methods such as Runge-Kutta.

Identities for the error function (erf) and the normal density (Φ).

Linear interpolator is a simple calculator for linear interpolation. Given two (x, y) points, it solves for x given y or vice versa.

Notes on Hypergeometric functions

Simple Random Number Generation article and source code on CodeProject

 

Misc

Notes on how to use LaTeX on Windows.

Unicode resources

Getting started with C++ TR1 regular expressions

Greek letters and math symbols in Unicode, (X)HTML, and LaTeX

Accented letters in HTML, (La)TeX, and Microsoft Word

 

Home | Sitemap | My blog | Search