Page 1 of 1

@epow function

Posted: Fri Apr 27, 2018 6:42 am
by yscamara
Hello,
I have two matrices " mat_rel_v_usd " and " mat_two_usd " with the same dimension. Then I wanted create a matrix named " mat_wto_usd " equal to " mat_rel_v_usd " exponent the " mat_two_usd " , therefore i run the following expression: " matrix mat_weighted_usd = @epow(mat_rel_v_usd,mat_wto_usd ) ". Unfortunately, Eviews is not performing this expression. Indeed, when I run the function nothing happens. I recall that, there is no overflow risk as the elements of the matrix " mat_wto_usd " are weights (i.e, 0.1, 0.08...) that sum up to one. I have attached a wf with the two matrices.
Thanks very much in advance

Re: @epow function

Posted: Fri Apr 27, 2018 7:49 am
by EViews Gareth
mat_rel_v_usd contains NAs and negative numbers.

mat_tw_usd contains NAs and non-integers.

Thus the calculation cannot be performed.