Hi there,
I have a panel dataset with two cross-section identifiers (country, industry) and would like to create a dummy variable for country-year pairs (e.g. USA-1990 = 1, FRA-2000 = 1, etc ...). Could you please suggest a way to create this variable (e.g. using @expand or @recode)? I have 20 countries over 30 years in the data. Thanks in advance.
Creating Dummy Variable in Panel
Moderators: EViews Gareth, EViews Moderator
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13585
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Creating Dummy Variable in Panel
@expand(@crossid, @date)
Re: Creating Dummy Variable in Panel
Many thanks, Gareth!
Who is online
Users browsing this forum: No registered users and 1 guest
