Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

st: RE: permutations and sorting percentiles

From   "Martin Weiss" <>
To   <>
Subject   st: RE: permutations and sorting percentiles
Date   Wed, 25 Aug 2010 19:46:04 +0200


ssc d selectvars


-----Original Message-----
[] On Behalf Of Gautam,
Sent: Mittwoch, 25. August 2010 19:42
Subject: st: permutations and sorting percentiles 


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:

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index