Search found 40 matches
- Thu Mar 17, 2016 9:18 am
- Forum: Estimation
- Topic: Trendline and confidence bound
- Replies: 2
- Views: 4491
Re: Trendline and confidence bound
Thank you!
- Thu Mar 17, 2016 9:08 am
- Forum: Estimation
- Topic: Trendline and confidence bound
- Replies: 2
- Views: 4491
Trendline and confidence bound
I have GDP time series, 1980-2015. I want to plot a polynomial trendline and show a graph of it, including 95% confidence bound on both sides of the trend line. I run the following regression: ls gdp c @trend^2 @trend. How would I now get the plot of this trendline including the confidence bound? Th...
- Tue Dec 22, 2015 1:56 pm
- Forum: Programming
- Topic: How to sum a list of series?
- Replies: 2
- Views: 5228
Re: How to sum a list of series?
Thank you!
- Tue Dec 22, 2015 1:23 pm
- Forum: Programming
- Topic: How to sum a list of series?
- Replies: 2
- Views: 5228
How to sum a list of series?
Hi, I have a list of series that I create from the loop below. Is there an easy way to create two new series, one that is the sum of the first 11 series (gomd321.a through go339.a) and the other one that is the sum of the other 8 series (go311a2.a through go326.a)? for %x md321 md327 331 332 333 334...
- Thu Oct 08, 2015 8:35 am
- Forum: Models
- Topic: Forecasting within model object
- Replies: 1
- Views: 5932
Forecasting within model object
Hi, I hope someone can help me better understand how forecasting works within the model object. I have a panel dataset with two endogenous variables, call them c and g , and several exogenous variables, k , pi etc. I have history data 1980-2014 for all the variables. I also have forecast data (2015-...
- Tue Sep 22, 2015 6:14 am
- Forum: Programming
- Topic: Assign special values for some observations in a series
- Replies: 3
- Views: 4799
Re: Assign special values for some observations in a series
Thank you very much! @recode worked great.
- Mon Sep 21, 2015 1:27 pm
- Forum: Programming
- Topic: Assign special values for some observations in a series
- Replies: 3
- Views: 4799
Assign special values for some observations in a series
Hi, I have two times series, x1 and x2 dated 1997 to 2013. Both series have negative observations in some periods, that I would like to turn into NA. Is there a simple way to do this? I have tried if x1>0 then x1=na else x1=x1 endif but that doesn't work. I get an error message saying "NA found...
- Thu Sep 17, 2015 7:33 am
- Forum: Programming
- Topic: Generate series with constant values
- Replies: 2
- Views: 4633
Re: Generate series with constant values
Thank you! This is a much more efficient way to do it. Thanks, again.
Code: Select all
smpl 2014 2025
for !i=1 to resids.@count
%name = resids.@seriesname(!i)
series {%name} = {%name}(-1)
next- Wed Sep 16, 2015 11:01 am
- Forum: Bug Reports
- Topic: Panel workfile dynamic forecast crashing Eviews
- Replies: 1
- Views: 3744
Panel workfile dynamic forecast crashing Eviews
I have tried to run a dynamic forecast for a panel data set, which crashes and forces an automatic shut down of Eviews. I estimate an equation (gmm log(y/y(-1))=c+log(x(-1)/x(-2) @ log(z/z(-1))) for a history sample 1997-2013. Then from the drop-down menu I select Forecast where I specify my forecas...
- Thu Aug 06, 2015 1:49 pm
- Forum: Programming
- Topic: Sample with only positive observations for all series
- Replies: 3
- Views: 5311
Re: Sample with only positive observations for all series
Oh that's great. Thanks so much! It worked.
- Thu Aug 06, 2015 12:56 pm
- Forum: Programming
- Topic: Sample with only positive observations for all series
- Replies: 3
- Views: 5311
Sample with only positive observations for all series
Hi, I am trying to run a multivariate regression in a log-log format. Several series have negative observations. How can I tell EViews to estimate the equation for a sample that consists of only positive values for all series? My problem is that there are more than one series with negative values. T...
- Tue Jul 14, 2015 8:31 am
- Forum: Programming
- Topic: Generate series with constant values
- Replies: 2
- Views: 4633
Generate series with constant values
Hi, I hope someone can help me figure out how to program the following. I have over 70 series from 1980-2013. I need each series spliced such that observations from 2014-2020 are constant and take the value observed in 2013. The series are named something like cfc110, cfc135, cfc529, etc. Is there a...
- Fri Apr 10, 2015 9:35 am
- Forum: Programming
- Topic: A loop to group variables
- Replies: 6
- Views: 8683
Re: A loop to group variables
Great. Thank you!
- Fri Apr 10, 2015 8:07 am
- Forum: Programming
- Topic: A loop to group variables
- Replies: 6
- Views: 8683
Re: A loop to group variables
Thank you so much! Could you help me figure out the second method - build up a string? For example, I have two variables, a_usgo92_nd_arts and a_usgo92_nd_ent, and I want to create a group by building up a string. When I try the following, I get an error message "_ENT is not defined in "Gr...
- Thu Apr 09, 2015 1:13 pm
- Forum: Programming
- Topic: A loop to group variables
- Replies: 6
- Views: 8683
Re: A loop to group variables
Thank you! I tried the first method, and it works after I remove the outer curly brackets in
Thanks, again!
Code: Select all
granulars.add {a_usgo{%x}_nd}