English

Rick Wicklin 0
Quantiles of discrete distributions

I work with continuous distributions more often than with discrete distributions. Consequently, I am used to thinking of the quantile function as being an inverse cumulative distribution function (CDF). (These functions are described in my article, "Four essential functions for statistical programmers.") For discrete distributions, they are not. To quote

Chris Hemedinger 0
Be a code poet laureate

The next time you write a DATA step, try to express it in iambic pentameter.  Or instead of a SAS macro function, how about a SAS macro sonnet?  (Or, for the more base among you, a limerick?) That's the spirit behind the code {poems} project.  You write a poem in

Rick Wicklin 0
Testing data for multivariate normality

I've blogged several times about multivariate normality, including how to generate random values from a multivariate normal distribution. But given a set of multivariate data, how can you determine if it is likely to have come from a multivariate normal distribution? The answer, of course, is to run a goodness-of-fit

Data Visualization
Dan Heath 0
Roses are red, violets are blue...

This classic start to a romantic poem assumes that the correct colors are always assigned to the correct flowers; but, for those who create graphs for reports, consistent color assignment can be more of a challenge than an assumption. This challenge is particularly true for the display of group values.

Data Visualization
Sanjay Matange 0
Dashboard graphs revisited

Here is the promised follow up on the Dashboard graph.  In the previous article, I posted the code to create a panel of bullet KPIs displaying three different metrics.  For each KPI, I used 5 columns of data which resulted in a wide and inconvenient structure. A more convenient data structure is