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: AW: Fill


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: Fill
Date   Fri, 26 Feb 2010 16:45:15 +0100

<> 


What is the process which you want Stata to use to arrive at the solution? From your example, it is not really clear how you obtain the solution

9
6
1
6

...



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Tiago Fonseca
Gesendet: Freitag, 26. Februar 2010 13:46
An: [email protected]
Betreff: st: Fill

  Hi.

How can I solve this problem. I have a set of data like these:
Industry code
	Decile
	Year
1
	1
	1999
2
	6
	1999
4
	9
	1999
4
	.
	2001
2
	.
	2001
1
	.
	2001
2
	.
	2002


I have a industry code, the decile of the base year (1999) and I want to 
fill the decile in the remaining years. The solution will be like:
9
6
1
6

How to solve it for a large set of data?

Kind regards,
Tiago Fonseca
*
*   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/


*
*   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