Statalist


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

st: RE: Data manipulation


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Data manipulation
Date   Mon, 28 Jul 2008 18:12:20 +0100

In addition to other answers, note the -egen- function -clsst- in the
-egenmore- package on SSC. The possibly cryptic name is a side-effect of
the 8.3 filename.ext limit on filenames that bit hard at the time it was
written (2000). 

Nick 
n.j.cox@durham.ac.uk 

Ana R. Rios

I would like to obtain the incpc that is closest to x value.  For
example, if x=500 the incpc will be 360.  

househol	incpc	obs
37620	228.22	1
33013	323.75	2
19319	360	3
6211	750	4
31814	813.75	5
28820	982.6588	6
17905	993.0207	7
10022	1122.5	8
5116	1145.833	9
7521	1151.435	10
6105	1193.125	11
32410	1274.714	12
5218	1278	13
9920	1278	14
36517	1328.5	15
9614	1375	16
6203	1395	17
6213	1448.333	18
7206	1460	19
32414	1470	20

*
*   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