The "clusignrank" package is ready to be installed and tested in Stata. The Stata code is as below: 
 
net install clusignrank,replace force from(http://sph.umd.edu/sites/default/files/files/EPIB/mtlee/clusignrank/
 
* Clustered Wilcoxon signed rank test for a balanced design
use sample_balanced_data, clear
clusignrank z, cluster(id)
 
* Clustered Wilcoxon signed rank test for an unbalanced design
use sample_unbalanced_data, clear
clusignrank z, cluster(id)
 

SAMPLE SIZE AND POWER CALCULATIONS FOR MICROARRAY STUDIES 

We provide on-line computational routines for sample size and power in microarray studies.

LEE M-LT. Analysis of Microarray Gene Expression Data, (2004), Springer (formerly Kluwer Academic Publishers)

RANK ANALYSIS OF MICROARRAYS (RAM) 

We provide R codes used in the following article:

LEE M-LT, Gray RJ, Bjorkbacka H, Freeman MW. Generalized Rank Tests for Replicated Microarray Data.Statistical Applications in Genetics and Molecular Biology, 2005, 4(1), Article 3.

THRESHOLD REGRESSION 

We provide SAS, R, and STATA software packages (all the packages are still in beta versions currently, you are welcome to test them and send us your feedbacks) to implement threshold regression as discussed in:

Xiao T, Whitmore GA, He X, Lee M-LT (2015). The R Package threg to Implement Threshold Regression Model, Journal of Statistical Software, Volume 66, Issue 8.

Xiao T, Whitmore GA, He X, Lee M-LT. Threshold regression for time-to-event analysis: The stthreg package. STATA Journal, 2012, 12(2): 257-283.

Lee M-LT, Whitmore GA. Proportional hazards and threshold regression: their theoretical and practical connections. Lifetime Data Analysis, 2010, 16(2): 196-214.

Lee M-LT, Whitmore GA. Threshold regression for survival analysis: modeling event times by a stochastic process reaching a boundary. Statistical Sciences, 2006, 21: 501-513.

GENERALIZED RANK BASED TESTS FOR CLUSTERED DATA 

From this link you will find SAS codes for generalized ranksum tests for clustered data as discussed in the following 3 articles:

Rosner B, Glynn RJ, Lee M-LT. Extension of the Rank Sum Test for Clustered Data: Two-Group Comparisons with Group Membership Defined at the Subunit Level. Biometrics, 2006, 62: 1251-1259.

Rosner B, Glynn RJ, Lee M-LT. The Wilcoxon Signed Rank Test for Paired Comparisons of Clustered Data.Biometrics, 2006, 62: 185-192.

Rosner B, Glynn RJ, Lee M-LT, Incorporation of clustering effects for the Wilcoxon rank sum test: a large sample approach. Biometrics, 2003; 59: 1089-1098.