Search found 15 matches

by banhbengconuong
Thu Nov 16, 2017 6:18 am
Forum: Add-in Support
Topic: Threshold Structural VAR
Replies: 127
Views: 276379

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,
by banhbengconuong
Thu Jan 22, 2015 8:14 pm
Forum: Programming
Topic: How to customize the obs axis in graph?
Replies: 2
Views: 2944

Re: How to customize the obs axis in graph?

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

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!
by banhbengconuong
Sun Aug 03, 2014 9:56 am
Forum: Programming
Topic: how to write percentile rank code
Replies: 4
Views: 4489

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
by banhbengconuong
Mon May 12, 2014 8:24 am
Forum: Programming
Topic: How to set complex condition in EViews?
Replies: 6
Views: 5427

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.
by banhbengconuong
Sun May 11, 2014 2:15 am
Forum: Programming
Topic: How to set complex condition in EViews?
Replies: 6
Views: 5427

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
by banhbengconuong
Sat May 10, 2014 4:28 am
Forum: Programming
Topic: How to set complex condition in EViews?
Replies: 6
Views: 5427

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...
by banhbengconuong
Wed Mar 19, 2014 10:26 pm
Forum: Programming
Topic: Loop for samples
Replies: 3
Views: 4041

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 @all
smpl {%sample}
freeze(tab1_{%sample}) gr_d1_core.stats
tab1_{%sample}(4,1) = "Statistics/Variable"
next
by banhbengconuong
Wed Mar 19, 2014 10:02 pm
Forum: Programming
Topic: How to save Wald test results from several regressions?
Replies: 5
Views: 7404

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.
by banhbengconuong
Wed Mar 19, 2014 9:59 pm
Forum: Programming
Topic: Loop for samples
Replies: 3
Views: 4041

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...
by banhbengconuong
Tue Mar 11, 2014 6:25 pm
Forum: Programming
Topic: Table: Putting texts in cell using loop
Replies: 2
Views: 3180

Re: Table: Putting texts in cell using loop

thank you a lots, it works perfectly.

EViews Gareth wrote:

Code: Select all

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

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" ...
by banhbengconuong
Thu Jan 16, 2014 12:00 am
Forum: Add-in Support
Topic: VARForecast (VAR forecasting)
Replies: 44
Views: 68803

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
by banhbengconuong
Wed Jan 15, 2014 9:06 pm
Forum: Add-in Support
Topic: VARForecast (VAR forecasting)
Replies: 44
Views: 68803

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?
by banhbengconuong
Mon Jan 13, 2014 8:23 pm
Forum: Add-in Support
Topic: VARForecast (VAR forecasting)
Replies: 44
Views: 68803

Re: VARForecast (VAR forecasting)

Good morning everyone,
I have downloaded successfully the VARforecast addin. But when I write the command fcast, eviews tells me that fcast is not a valid view for VAR. Could anyone help me to solve this? I do appreciate your help. Many thanksss

Go to advanced search