Hi all,
In a balanced, stacked panel: 7 sections and a time horizon of 13 years (7 x 13 = 91 observations), I want to generate a single dummy variable which takes the value 1 at row (observation) 42 (at section #4 at time point 1999) and zero otherwise. How do I do that - any suggestions?
Regards,
P
Dummy-variable
Moderators: EViews Gareth, EViews Moderator
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13323
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Dummy-variable
Code: Select all
series dum=0
smpl 1999 1999 if @crossid=4
dum=1
Follow us on Twitter @IHSEViews
Re: Dummy-variable
Thanks - your solution function perfectly.
P.
P.
Return to “General Information and Tips and Tricks”
Who is online
Users browsing this forum: Google [Bot] and 10 guests