Search found 393 matches

by EViews Matt
Fri Nov 15, 2019 9:55 am
Forum: Data Manipulation
Topic: Unmerging graphs
Replies: 2
Views: 85

Re: Unmerging graphs

Hello,

I don't know that this can be done programmatically, but via the GUI you can select the central portion of each subgraph, right-click, and choose "Extract selected graph".
by EViews Matt
Wed Nov 13, 2019 5:08 pm
Forum: Programming
Topic: Rename multiple series using string functions
Replies: 3
Views: 132

Re: Rename multiple series using string functions

Hello, You have the right idea, but there's a good deal of unnecessary quotation and substitution in your code. We can simplify the syntax of the body of your for loop as follows: %name = g1.@seriesname(!i) !left = @instr(%name, "AIREMSECT_") + @length("AIREMSECT_") !right = @ins...
by EViews Matt
Tue Nov 12, 2019 10:17 am
Forum: Programming
Topic: Relative Paths
Replies: 12
Views: 2237

Re: Relative Paths

Hello,

There is also the undocumented command @runname that returns the file name of the "top-level" program running (ignoring the effects of include or exec as documented for @runpath).
by EViews Matt
Mon Nov 11, 2019 11:41 am
Forum: Estimation
Topic: Maximum number of iteration exceed error
Replies: 4
Views: 235

Re: Maximum number of iteration exceed error

Hello,

Are you using EViews 10? If so, a different initial value choice seems to work better. Try an initial constant of one (use the "f0=1" option in the svar command).
by EViews Matt
Tue Nov 05, 2019 1:45 pm
Forum: Estimation
Topic: Maximum number of iteration exceed error
Replies: 4
Views: 235

Re: Maximum number of iteration exceed error

Hello,

It's always good to try different types of initial values to see if one more effectively leads to convergence. The default normal distribution appears to work with your data (remove the "F0=U" option from the svar command).
by EViews Matt
Wed Oct 23, 2019 9:03 am
Forum: Programming
Topic: Creating CI in Eviews bug
Replies: 4
Views: 545

Re: Creating CI in Eviews bug

I mean when you create ub_r and lb_r.

Code: Select all

genr ub_r=f1r_impulse+1.134*f1r_impulse_se/@sqrt(6)
genr lb_r=f1r_impulse-1.134*f1r_impulse_se/@sqrt(6)
by EViews Matt
Tue Oct 22, 2019 10:00 am
Forum: Estimation
Topic: P-values for Vector Autoregressions
Replies: 2
Views: 181

Re: P-values for Vector Autoregressions

Hello,

I don't believe the p-values are available from a VAR object. I believe you'd need to write a program to go through the results table, extract each t-statistic, and calculate the corresponding p-value.
by EViews Matt
Mon Oct 21, 2019 1:44 pm
Forum: Programming
Topic: Creating CI in Eviews bug
Replies: 4
Views: 545

Re: Creating CI in Eviews bug

Hello,

You appear to have a small copy-and-paste bug. When creating ub_r and lb_r I suspect you forgot to change the right-hand side variables from prefix f1r_* to rr_*.
by EViews Matt
Mon Oct 21, 2019 1:34 pm
Forum: Estimation
Topic: Interpreting the IRFs from EViews
Replies: 1
Views: 150

Re: Interpreting the IRFs from EViews

Hello,

Period 1 is the initial structural shock (decomposed into the VAR's variables) and the remaining periods are future dynamics.
by EViews Matt
Tue Oct 08, 2019 4:16 pm
Forum: Models
Topic: problem with scenario
Replies: 3
Views: 991

Re: problem with scenario

Hello, I just wanted to let you know that we're investigating this issue. I can confirm that there is some unexpected behavior in the case of a stochastic solve where a series has been both excluded and overridden. You mentioned that you had an earlier model that behaved as expected, would you be ab...
by EViews Matt
Fri Oct 04, 2019 12:00 pm
Forum: General Information and Tips and Tricks
Topic: extract a portion of a string
Replies: 2
Views: 302

Re: extract a portion of a string

Hello, As a starting point, here's an example of creating new alpha series (left and right) by splitting an existing alpha series (orig) on a specific character ("["). alpha left = @left(orig, @instr(orig, "[") - 1) alpha right = @mid(orig, @instr(orig, "["))
by EViews Matt
Wed Sep 11, 2019 2:02 pm
Forum: Data Manipulation
Topic: select contiguous sample with no NA
Replies: 4
Views: 442

Re: select contiguous sample with no NA

Ah, you must have more NAs after the sample. This alternative should account for the current sample:

Code: Select all

%tmp = @pagesmpl
series tmp = @recode(@cumbnas(x, %tmp) > 0, na, 1)
by EViews Matt
Wed Sep 11, 2019 9:23 am
Forum: Data Manipulation
Topic: select contiguous sample with no NA
Replies: 4
Views: 442

Re: select contiguous sample with no NA

Hello,

You can create a temporary series whose @first data member will hold the date/observation you want.

Code: Select all

series tmp = @recode(@cumbnas(x) > 0, na, 1)
by EViews Matt
Tue Sep 10, 2019 1:30 pm
Forum: Data Manipulation
Topic: Overlapping points
Replies: 1
Views: 217

Re: Overlapping points

Hello,

You can create a dummy series that records at which observations the two series cross, which you may then use to extract dates. For example, for two series "x" and "y":

Code: Select all

series crossed = x = y or (x(-1) - y(-1)) * (x - y) < 0
by EViews Matt
Thu Aug 29, 2019 1:42 pm
Forum: Programming
Topic: @strdate for current sample
Replies: 2
Views: 206

Re: @strdate for current sample

Hello, @strdate creates an alpha series rather than a lone string. If you want a single string containing all the sample's dates, you can use @strdate to create date strings for all observations, then use stom() to extract only the date strings for the current sample into an svector, and finally use...

Go to advanced search