Statalist


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

st: RE: -panelthin- available on SSC


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: -panelthin- available on SSC
Date   Tue, 25 Nov 2008 17:01:35 -0000

For "anything" read "anyone" 

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Nick Cox
Sent: 25 November 2008 16:15
To: statalist@hsphsun2.harvard.edu
Subject: st: -panelthin- available on SSC

Following its mention yesterday in a thread started by Leny Matthew, I have written a help file for -panelthin- and posted it to Kit Baum, who has kindly posted the package on SSC. 

Use -ssc- as usual to install. 

-panelthin- identifies observations that would belong in a thinned panel
dataset in which observations in each panel are at least a minimum  
time apart. The result is a new variable tagging observations in the  
thinned dataset by 1 and others by 0.

The calculation is carried out looping up to the maximum length of panel. That is more efficient than a naïve loop over observations. If anything can figure a way of doing it without any loop, do signal. 

The procedure in -panelthin- was in broad terms suggested by Rajesh Tharyan in a Statalist posting in May. The help gives the precise URL. 

Stata 8 is required. 


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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