[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: Data Manipulation--is the merge command appropriate?
-fillin- does what you want (when followed by replace X=0 if _fillin==1)
p.s. I'm not sure what you meant when you stated that the merge "did not
work" (see statalist faq for why that's a no-no). I think the merge route
would also work but fillin is better designed for this task.
----- Original Message -----
From: "Asiedu, Elizabeth" <email@example.com>
Sent: Monday, September 25, 2006 11:12 AM
Subject: st: Data Manipulation--is the merge command appropriate?
I have an unbalanced panel dataset. I'd like to convert to a balanced panel
dataset where the data for the missing years are zero. How do I do this in
Stata? I'll use an example to illustrate my problem.<snip>
* For searches and help try: