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

Re: st: Convert list into a variable

From   Serguei Kaniovski <[email protected]>
To   [email protected]
Subject   Re: st: Convert list into a variable
Date   Tue, 29 Jan 2008 15:52:06 +0100

Alan, "fill" is the right command, but the results are strange...

for example

egen x=fill(0(5)60)

produces the correct sequence, while the more compex

egen y=fill(0(1)60 60(5)120 120(10)180 180(20)360)

produces just the simple 1 to _N with step 1. The latter command does not 
seem to tale the arguments correctly,

Can you help?


*   For searches and help try:

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