Quantcast
Channel: EViews
Viewing all 24092 articles
Browse latest View live

ipolate

$
0
0
I have two series s1 and s2, ipolate works fine for s2 but leaves a gap of na's in s1 in 2009-10. Any idea what I am doing wrong or is there a but in the program?



ipolate

$
0
0
You chose log interpolation, and 2010 switches from negative to positive, which causes NAs.


Growing a Series

$
0
0
I have a series with some stock data that I want to grow at a given monthly rate.

The series (STOCK) has monthly data. I've created a scalar that holds my monthly growth rate (GROWTH).

I would like to create a second calculated series (STOCK_FORECAST) that starts with the last value in STOCK and grows it forward using the monthly growth rate (GROWTH).

Any help would be greatly appreciated!


cointegration with structural breaks

Growing a Series

$
0
0
Code:

Series stock_forecast = @recode(stock=NA, stock_forecast(-1)*(1+growth),stock)



cointegration with structural breaks

Undated or dated panel regression?

$
0
0
Thank you for your quick response.

Would you advise me to perform an OLS regression instead of a panel regression, or is there something that I have to change in my Excel file maybe so that I won't get the second error?

Thanks again.

Amy


d(log) log interpretation

$
0
0
Hi all,

I am having trouble interpreting my panel estimation

I have the following output dlog(y)= 13.905.log(x1) - 2.097.log(x2) + e

How do I interpret the coefficients ?

is it: a 1% increase in x1 will yield 13.905% increase in y ?

I am not sure if this is correct since its is the difference of log(y)... do you have to multiply or divide it by a 100 to get the same level of % change?

I am desperate

please help me

Thank

David



d(log) log interpretation

$
0
0
you have to take cumulative sum to get level of % change.


Undated or dated panel regression?

$
0
0
Whether you should perform a panel regression or not is purely an economic question, and is up to you


ARCH estimation error

$
0
0
Hi.

I'm working on an exercise where I have to obtain daily prices for the Norwegian and the US stock market indicies for the last 20 years. I used datastream to collect the numbers. For the Norwegian market I used OSEBX and SP500 for the US market.

One question that I have to answer is: Formally test for ARCH effects in the log returns series. Before I move on I must say that I only had estimation problem when testing for ARCH effects for SP500. The error msg I got: MA estimation requires a continuous sample.

My input when estimating equation: logrsp500 c ar(1) ma(1) (see workfile attahced)

logrsp500 = log return on sp500 data collected

Did the same procedure for my osebx data and I hade no problem with that.

eviews version: Std. edition jan 7 2010 build.

Thanks!


ARCH estimation error

$
0
0
You NAs in your sample. Hence it's not continuous.


Create new series subject to a condition

$
0
0
Good morning,

Thanks to you all.

Both, smpl if vary<200, and series varx = @recode(vary<200, vary, NA) will be useful for what I need to do.

Thanks again for your time.

Danny


Time varying SVAR

$
0
0
Hi, thanks for this great add-in.

Is it possible to save all the results as series, so that they can be exported? The program which runs the add-in is encrypted, so I cannot modify the code to have Eview save the results as series for example.

Thanks
W


ARCH estimation error

$
0
0
So do I need to collect new data and try or can I do sometthing to my existing data ?

Also look at my osebx workfile I see that i have NAs in the sample too, but no error when estimating my ARCH equation.



Save Maximum of a Series

$
0
0
Suppose I have a series called "maxvalue". This series contains different values for each date for each cross-section. The cross sections are identified by the series "ident". I need to access the maximum value for each cross section of the series "maxvalue". The maximum value of "maxvalue" might be at different points in time for each cross section.

If if use something like
Code:

show@maxsby(maxvalue, ident)

the same value (indeed the maximum value) for a cross sections is assigned to all points in time. I require it to be the maximum value at the point in time when it is maximized and zero or NA otherwise.

Still havent figured out how to get there.


Save Maximum of a Series

$
0
0
Code:

series mymaxes = @recode(maxvalue = @maxsby(maxvalue,ident), @maxsby(maxvalue, ident), na)



Save Maximum of a Series

$
0
0
Gareth, If I'm interpreting correctly, I think the original question was a bit more complicated, as the poster wanted the historical max at a each point in time. (If that interpretation is correct, the answer is only a tiny bit more complicated than your answer -- if I'm wrong, you all can just ignore me).

Suppose we have a dated panel structured workfile with the series F of interest.

We are going to write a recursion to identify the historical maximum for the cross-section at a given point in time. First, we seed the recursion.
Code:

smpl @first @first
series cummax = f

Next, for the remaining periods we compute the historical maximum by comparing the current value to the lagged historical maximum.
Code:

smpl @first+1 @last
cummax = @recode(f>cummax(-1), f, cummax(-1))

Note that in since this is a dated panel workfile, the by-cross-section part of the calculation is handled naturally via the sample and recursion.

Lastly, we do the recoding to NAs.
Code:

smpl @all
series mymaxes = @recode(cummax=f, cummax, na)



Save Maximum of a Series

$
0
0
And of course, I forgot that we have a @cummax function which simplifies things even further as the whole first part of my post can be done in a single line.
Code:

series cummax = @cummax(f)
series mymaxes = @recode(cummax=f, cummax, na)



Time varying SVAR

$
0
0
Yes. It is possible. I will release version 2.0 soon.


Viewing all 24092 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>