Page 1 of 1

Delete rows with condition

Posted: Tue Aug 14, 2012 6:47 am
by jnkfoune
I would need to delete certain rows depending on the value of one column, I don't even know if it's possible with eviews

I mean I would need something like :
For each rows
if dayweek=1 or dayweek=7 then delete row

I am very new with eviews and have no idea of how to do this

thank you for your help

Re: Delete rows with condition

Posted: Tue Aug 14, 2012 6:54 am
by startz
I would need to delete certain rows depending on the value of one column, I don't even know if it's possible with eviews

I mean I would need something like :
For each rows
if dayweek=1 or dayweek=7 then delete row

I am very new with eviews and have no idea of how to do this

thank you for your help
You probably want to use the smpl if command

Code: Select all

smpl if not (dayweek=1 or dayweek=7)