Converting Stata code
Posted: Sat Oct 26, 2013 3:37 pm
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).
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).