[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: unexpected egen fill behavior
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/