Hello
I'm performing an operation where I need NA*0 to equal 0 instead of NA . I've read in eviews 2 this used to be the default. In Eviews 10 do you know of any ways I could make this still work
Thank you
Multiplying Na by zero
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: Multiplying Na by zero
One way
or something like that, although that would also give NA*7 = 0 which may not be what you want.
Code: Select all
series newVar = @recode(oldvar1=na,0,oldvar1)*@recode(oldvar2=na,0,oldvar2)
or something like that, although that would also give NA*7 = 0 which may not be what you want.
Re: Multiplying Na by zero
Thanks for your help but yes at the moment I need solely 0*NA to equal 0
Who is online
Users browsing this forum: No registered users and 24 guests