Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: permutations and sorting percentiles

From   "Gautam, Sanghmitra" <>
To   "" <>
Subject   st: permutations and sorting percentiles
Date   Wed, 25 Aug 2010 17:42:02 +0000


I have two questions and the second follows in continuation from the first

1. I want to create all possible permutations and combinations of people in a village and I was wondering if STATA allows for that ? I have data by each village – n people (each with own st. dev of income) and divided into z number of groups and each group is of size k. 
So I want to form all possible groupings i.e. (n choose k)/z

2. I have previously calculated rank ordering metric Ktau (for all villages) on the original observed groupings and from procedure (1) above will have the Ktau metric for all combinations of groupings. How would one calculate a sorting percentile range for the observed grouping: i.e. an [a,b] where a% of groups have a strictly lower K-tau and b% a strictly higher K-tau than the observed grouping.

Thank you 
*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index