Hi
Is it possible to delete several observations at once?
I use Proc -> Contract Current page:
Example:
2000 2011 if i_11103_naicscode_ser <>1187 and between 1260
And can I some how type in the number 50, 150, 550, 1050, 1200, 2550 in ordrer to delete them??
Delete several observations
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
Delete several observations
Last edited by andgun on Tue Feb 11, 2014 3:22 am, edited 1 time in total.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Delete several observations
@inlist
Re: Delete several observations
Like this?
2000 2011 if i_11103_naicscode_ser <>inlist(1187,1186, 1260)
What about between:
2000 2011 if i_11103_naicscode_ser <>between(1050;1150)
Could you please correct?
2000 2011 if i_11103_naicscode_ser <>inlist(1187,1186, 1260)
What about between:
2000 2011 if i_11103_naicscode_ser <>between(1050;1150)
Could you please correct?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Delete several observations
Code: Select all
2000 2011 if @inlist(i_11103_naicscode_ser, "1187 1186 1260")=0
Re: Delete several observations
I get :
Error in Sample: @INLIST is not a Genr or series Expression function.
What is the problem?
Error in Sample: @INLIST is not a Genr or series Expression function.
What is the problem?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Delete several observations
Which version of EViews?
Re: Delete several observations
I have Version 7.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Delete several observations
You'll have to write out the full expression then.
etc...
Code: Select all
2000 2011 if if i_11103_naicscode_ser <> 1187 or if i_11103_naicscode_ser <> 1186
Who is online
Users browsing this forum: No registered users and 2 guests
