Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Ask how copy values


From   Adiwan Fahlan <[email protected]>
To   [email protected]
Subject   st: Ask how copy values
Date   Tue, 18 Oct 2011 06:45:20 -0700 (PDT)

Dear all

I want to generate an initial gdp value such as below:

Country year   gdp50
1       1950   200
1       1960   200
1       1970   200
2       1950   300
2       1960   300
2       1970   300
.
.
.
20   1970       400

Can anyone help me with the code that generate the initial gdp for all country and year?

Thank you

Regards, 
Adiwan
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index