Statistics for Programming Graphics Hardware