Statalist The Stata Listserver


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

st: unexpected egen fill behavior


From   Marcello Pagano <[email protected]>
To   [email protected]
Subject   st: unexpected egen fill behavior
Date   Sun, 03 Dec 2006 08:58:43 -0500

Kit Baum wrote:
The online help for egen fill is a bit lacking. If you want a repeating pattern, you must present it twice.
So what Joe was trying to do can be achieved with

egen byte joe=fill(1 1 1 1 2 2 2 2)
as Jeph pointed out.

The online help really ought to be improved. Even those of us with two sets of manuals don't always have them at arm's length!


Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html
An Introduction to Modern Econometrics Using Stata:
http://www.stata-press.com/books/imeus.html



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