search for: round_multinom

Displaying 1 result from an estimated 1 matches for "round_multinom".

2010 Feb 11
1
Rounding multinomial proportions
...ld not repeat the analysis and get the same results. Once I implemented a quick and dirty solution, simply setting the last proportion (Age10 above) as 1 minus the sum of ages 1-9. I quickly stopped using that approach when I started seeing negative values. After this introduction, the attached round_multinom.html should make sense. The algorithm I ended up choosing comes from allocating seats in elections, so I was tempted to provide that application as well, although it makes the interface and documentation slightly more confusing. The working title of this function was a short and catchy vote(),...