Im a very new user of Eviews and I speak spanish.
I already did this to join the code of a set of houses with the code of a home. The number 2361202 is the code of a particular home and now I want to reduce the sample to parents and children between 18 and 30 years living in that home (only children between this years), and my question is how to do it. Thanks.
alpha a2= a1 + @str(nro_hogar)
alpha a1=codusu
alpha a2= a1 + @str(nro_hogar)
series anh
anh= @sumsby (CH03=3, a2)
smpl @all if @val(a2)=2361202
Reduce a sample
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- Non-normality and collinearity are NOT problems!
- Posts: 3775
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Reduce a sample
Something like
smpl if @val(a2)=2361202 and (status="parent" or (status="child" and age>18 and age<30))
smpl if @val(a2)=2361202 and (status="parent" or (status="child" and age>18 and age<30))
Who is online
Users browsing this forum: No registered users and 46 guests