Hiro-macchan/Stddif — pull request #1 by kaz-yos (2014-10-02 18:41:10+00:00)
Title: Allowing stddiffs for continuous variables to be negative

This pull request consists of code realignment for readability and a minor modification to allow the standardize differences for continuous variables to be negative.

The standardized differences can be negative in the original stddiff SAS macro, as seen in the online documentation (http://support.sas.com/resources/papers/proceedings12/335-2012.pdf; Page 5; Table 3). It is implemented as follows.

```
(a._mean_ - b._mean_) / sqrt((a._std_**2 + b._std_**2)/2)
```