Hi,
I am trying to replicate a study that was done using stata. I am particularly interested in converting the following stata command to appropriate eviews command:
egen hdsex=max(temp1), by(year h_seq ffpos);
I believe the "egen" is there to generate a variable, but I am not sure how to set the condition that starts with "by." Any help would be appreciated. I am using eviews 7 (It is the student version so may not have all the capabilities of a regular eviews).
Converting Stata code
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: Converting Stata code
Code: Select all
series hdsex = @maxsby(temp1, year, h_seq, ffpos)Who is online
Users browsing this forum: No registered users and 2 guests
