Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: Programming Problem


From   Guido Tiemann <[email protected]>
To   [email protected]
Subject   Re: st: RE: Programming Problem
Date   Fri, 19 Jul 2002 17:49:33 +0200

At 11:17 19.07.2002 -0400, you wrote:
I'm not entirely clear on the algorithm here.  Is it:

1. Assign a seat to current highest vote getter.
2. Divide that party's votes by (1+number of seats they've been awarded
so far).
3. Return to step 1, until all seats are assigned.

Yep, you are quite right, Nick. Sorry, if I did not clarify this point. There is only one qualification, I would like to add to my former posting: The sequence of divisors might also be a different one, for instance, 1 - 3 - 5 (or even 1.4 - 3 - 5) for the method of (modified) Sainte Lague. In addition, I would like to preserve the initial votes that will be needed for further calculations, and the data set is rather huge (about 200 meg). As a consequence, my "brutal" slope + dummy approach took really long ...

Guido Tiemann

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index