I'm using IFLS data that contains more than 15000 household data and every household has some person. I want to get the oldest age of person in every household. My friend teach me to use stata with syntax:
Code: Select all
Bysort hhid14: egen maxage=max(age)
With hhid14 is household id
maxage is series to be generated (maximum age of every household)
age is the age data of every person
But i'm not a stata user. I'm eviews user. And i can't find the bysort command in eviews.
How can i generate series like that? Or there is same bysort command in eviews with different name or word?