Hi! I want to delete the space between 0 and 1 of the code at the end, how is it done? Thanks. Im using Eviews 9.
smpl @all if @val(a2)=397050 1
Remove space
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3797
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Remove space
Uh, position the cursor in front of the 1 and hit backspace?Hi! I want to delete the space between 0 and 1 of the code at the end, how is it done? Thanks. Im using Eviews 9.
smpl @all if @val(a2)=397050 1
Re: Remove space
No :( I get the poster "WARNING: Sample contains no observations"Uh, position the cursor in front of the 1 and hit backspace?Hi! I want to delete the space between 0 and 1 of the code at the end, how is it done? Thanks. Im using Eviews 9.
smpl @all if @val(a2)=397050 1
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3797
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Remove space
How many observations are there in your file in which @val(a2) equals exactly 3970501?No :( I get the poster "WARNING: Sample contains no observations"Uh, position the cursor in front of the 1 and hit backspace?Hi! I want to delete the space between 0 and 1 of the code at the end, how is it done? Thanks. Im using Eviews 9.
smpl @all if @val(a2)=397050 1
Re: Remove space
There are 12 observationsHow many observations are there in your file in which @val(a2) equals exactly 3970501?No :( I get the poster "WARNING: Sample contains no observations"Uh, position the cursor in front of the 1 and hit backspace?
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3797
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Remove space
Perhaps you should post your workfile. Be sure it Includes a series that you've set equal to @val(a2). Tell us a couple of observations that have the right value.
Re: Remove space
What I did was create an alpha to join two codes (example: 236120 and 1) and then see the observations. At first it worked because, for example, the two codes were together (2361201), but some are shown separately (397050 1) and I have that problem
Example:
alpha a1=codusu
alpha a2= a1 + @str(nro_hogar)
series anh
anh= @sumsby (CH03=3, a2)
smpl @all if @val(a2)=2361201

I do not know if it's what you ask because I do not handle English very much. Sorry and thanks.
Example:
alpha a1=codusu
alpha a2= a1 + @str(nro_hogar)
series anh
anh= @sumsby (CH03=3, a2)
smpl @all if @val(a2)=2361201

I do not know if it's what you ask because I do not handle English very much. Sorry and thanks.
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3797
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Remove space
Show us the example that doesn't work, not an example that does work. And first create a new series equal to @val(a2) and show us that one too.
Who is online
Users browsing this forum: No registered users and 2 guests
