Statalist The Stata Listserver


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

Re: st: generate 3.000 dummies


From   "John Bigelow" <j.bigelow@econgroup.com>
To   "Stata ListServe Address for Posting" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: generate 3.000 dummies
Date   Wed, 25 Oct 2006 09:28:45 -0400

Christian,

	Look up the help for the command -xi-  
That's probably the easiest.

Date: Wed, 25 Oct 2006 03:08:16 +0000
From: "Cristian Mackenna" <chicomackenna@hotmail.com>
Subject: st: generate 3.000 dummies

If I have a database like this:

id_place	id_person
1	1
1	2
1	3
2	4
2	5
2	6
3	7
3	8
3	9
…	…
3000	200000

Is there any fast way to generate a dummy for every of the 3.000 id_place
 
John Bigelow

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.11/496 - Release Date: 10/24/2006
 


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index