Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Re: data management - loop?

From   David Kantor <>
Subject   Re: st: Re: data management - loop?
Date   Wed, 23 May 2007 09:56:40 -0400

At 04:53 PM 5/22/2007, Nick Cox wrote:

I don't think there is any obvious way to handle ties
for mode. There might be substantive solution(s) to that.
-egen ... mode()...-
has some options for handling ties. In case anyone is interested, I wrote a variation that breaks ties by taking the latest-occurring in the data.


* For searches and help try:

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