Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: Ask how copy values


From   Adiwan Fahlan <adiwan_f@yahoo.com>
To   statalist@hsphsun2.harvard.edu
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index