Cluster-Sign-Rank Test Package
How to install Cluster-Sign-Rank Test package and test it using sample datasets in Stata:
net install clusignrank,replace force from(https://brac.umd.edu/brac/stata/)
net get clusignrank,replace force from(https://brac.umd.edu/brac/stata/)
* 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)