## Search found 15 matches

Thu Nov 16, 2017 6:18 am
Topic: Threshold Structural VAR
Replies: 123
Views: 35531

### Re: Threshold Structural VAR

Dear Dakila,

Thanks so much for making the add-in. I would like to ask whether we can have 2 thresholds for a variable?

Bests,
Thu Jan 22, 2015 8:14 pm
Forum: Programming
Topic: How to customize the obs axis in graph?
Replies: 2
Views: 726

### Re: How to customize the obs axis in graph?

It works well now, thank you very much!
Thu Jan 22, 2015 3:44 am
Forum: Programming
Topic: How to customize the obs axis in graph?
Replies: 2
Views: 726

### How to customize the obs axis in graph?

Hi everyone,

I'm drawing a kind of impulse response graph. There is an option to define the interval of the horizon (see the attached picture). Is there any way to make a code for that too?

Thank you a lots!
Sun Aug 03, 2014 9:56 am
Forum: Programming
Topic: how to write percentile rank code
Replies: 4
Views: 1426

### Re: how to write percentile rank code

EViews Gareth wrote:

Code: Select all

`series perranks = @ranks(X1) / @obs(x1)`

?

thanks Gareth, It is helpful. Btw, is there a short way to know a specific number (say the mean) is at which percentile? thank you
Mon May 12, 2014 8:24 am
Forum: Programming
Topic: How to set complex condition in EViews?
Replies: 6
Views: 1682

### Re: How to set complex condition in EViews?

EViews Glenn wrote:Sorry, use @min and @max.

Sorry again, EViews said "too many arguments" even if I choose only scalar a=@min(3,6) for instance.
Sun May 11, 2014 2:15 am
Forum: Programming
Topic: How to set complex condition in EViews?
Replies: 6
Views: 1682

### Re: How to set complex condition in EViews?

EViews Glenn wrote:

Code: Select all

`a = min(max(a, 3), 6)`

I am sorry that when I write:
scalar a=min(max(1, 3), 6)
EViews says "Syntax error". Could you pls check that?
Many thanks
Sat May 10, 2014 4:28 am
Forum: Programming
Topic: How to set complex condition in EViews?
Replies: 6
Views: 1682

### How to set complex condition in EViews?

Dear Eviews experts, I would like to make a complex condition for the lag of model. Suppose based on SIC criteria, number of lag is "a" Below is my set of conditions: if a <3 is true then a=3, else a = a if a>6 is true then a=6, else a=a At this moment I am stuck with setting the two condi...
Wed Mar 19, 2014 10:26 pm
Forum: Programming
Topic: Loop for samples
Replies: 3
Views: 1455

### Re: Loop for samples

Many thanks, I have done it, but because eviews doesn't allow to put @ in the name of object, so I defined the sample all before doing the loop.
EViews Gareth wrote:

Code: Select all

`for %samle  s1 s2 s3 s4 @allsmpl {%sample}freeze(tab1_{%sample}) gr_d1_core.statstab1_{%sample}(4,1) = "Statistics/Variable"next`
Wed Mar 19, 2014 10:02 pm
Forum: Programming
Topic: How to save Wald test results from several regressions?
Replies: 5
Views: 3067

### Re: How to save Wald test results from several regressions?

Hello,
I have the same problem, but then I freeze the result as a table first, then I can call the element of the result table later.
Hope this help.
Wed Mar 19, 2014 9:59 pm
Forum: Programming
Topic: Loop for samples
Replies: 3
Views: 1455

### Loop for samples

Hello everyone, I am trying to make a loop for different samples using the code I wrote below: for %samle = s1 s2 s3 s4 all smpl %sample freeze(tab1_{%sample}) gr_d1_core.stats tab1_{%sample}(4,1) = "Statistics/Variable" next However, Eviews told me that there were an error. Does anyone kn...
Tue Mar 11, 2014 6:25 pm
Forum: Programming
Topic: Table: Putting texts in cell using loop
Replies: 2
Views: 951

### Re: Table: Putting texts in cell using loop

thank you a lots, it works perfectly.

EViews Gareth wrote:

Code: Select all

`!row = 1for %x Mean Median Max Min Std!row = !row + 1tab3(!row,1) = %xnext`
Tue Mar 11, 2014 4:50 am
Forum: Programming
Topic: Table: Putting texts in cell using loop
Replies: 2
Views: 951

### Table: Putting texts in cell using loop

I am creating the table with the rows are different criteria and columns are different variables. May I use a loop for putting the text in headers of each row and column? For example, I tried the following but it fails for the headers of rows. table(5,2) mytab tab3(1,1) = "Variables/Crit" ...
Thu Jan 16, 2014 12:00 am
Topic: VARForecast (VAR forecasting)
Replies: 44
Views: 37269

### Re: VARForecast (VAR forecasting)

banhbengconuong wrote:
EViews Gareth wrote:Did you install it properly?

Yes, I can forecast with the menu but not with the command. Could you please tell me how to fix that?

Dear Mr Eviews Gareth
I have reinstalled the proc, and now it works for me well with the command, Thank you very much
Wed Jan 15, 2014 9:06 pm
Topic: VARForecast (VAR forecasting)
Replies: 44
Views: 37269

### Re: VARForecast (VAR forecasting)

EViews Gareth wrote:Did you install it properly?

Yes, I can forecast with the menu but not with the command. Could you please tell me how to fix that?
Mon Jan 13, 2014 8:23 pm