Working on post-transformation to enable rank-based tests. Made first very simple change in xBalanceEngine and then worked on test.xBalance.R to enable writing documentation. This branch is not done.
Showing what the post alignment rank transform does
Ensuring that ssvar is calculated before the transformation so that the sd of the randomization distribution of the mean differences is based on the mean differences and not mean differences of transformed data
After the post.align.trans, recenter tmat (design matrix).
(This is more expensive than centering zz, but it's necessary for eventual
tcov calculation to be correct.  The change should also correct the
calculation of the chisquare statistic.)
Edited a test for post alignment transform.  (Didn't understand the benchmark and was failing; replaced w/ wilcox.test as benchmark, and passed.)
When both stratum weights and a post alignment transformation are provided, I think users will expect the transformation to be applied before the the weights.  Modified to make this so.
When both stratum weights and a post alignment transformation are provided, I think users will expect the transformation to be applied before the the weights.  Modified to make this so.
Merging local and upstream branches in order to amend a premature commit.
Merge branch 'posttransform' of github.com:markmfredrickson/RItools into posttransform
Merge branch 'master' into posttransform