scalar multiplication
Posted: Fri Dec 09, 2011 10:28 am
Hi
I am using eviews 6 and I am trying to perform the winsorization process where given a return series, I would like to replace all the values exceeding four times the value of the standard deviation of the series by the standard deviation times four.
series win = @recode(returns> (4 x @stdev(returns)), 4 x stdev(returns), @recode(returns < (-1 x 4 x @stdev(returns)), -1 x 4 x @stdev(returns), returns))
well i think this is what i am trying to do but i cant seem to be able to carry out scalar multiplication in eviews :(
please help me
thanks
I am using eviews 6 and I am trying to perform the winsorization process where given a return series, I would like to replace all the values exceeding four times the value of the standard deviation of the series by the standard deviation times four.
series win = @recode(returns> (4 x @stdev(returns)), 4 x stdev(returns), @recode(returns < (-1 x 4 x @stdev(returns)), -1 x 4 x @stdev(returns), returns))
well i think this is what i am trying to do but i cant seem to be able to carry out scalar multiplication in eviews :(
please help me
thanks