Search found 20 matches

by altaus
Wed Aug 09, 2017 3:06 am
Forum: Programming
Topic: Filling a matrix with data from panel series
Replies: 2
Views: 608

Re: Filling a matrix with data from panel series

Thanks a lot! I'm looking at it know.

Best,
Marta
by altaus
Wed Aug 02, 2017 1:30 am
Forum: Programming
Topic: Filling a matrix with data from panel series
Replies: 2
Views: 608

Filling a matrix with data from panel series

Hi, I'm trying to fill a matrix with data from a numeric series in panel format. I am fairly new at working with panel data in this manner so I do not know how to refer to the individual values within the panel series, specially because the dimension of the panel are (reporter, partner, trade_flow, ...
by altaus
Mon May 22, 2017 4:26 am
Forum: Programming
Topic: Individual coefficients in Panel cointegration not saved with btwcoefs
Replies: 1
Views: 563

Individual coefficients in Panel cointegration not saved with btwcoefs

HI, I am trying to estimate a panel cointegration model and save the individual coefficients in a matrix. I use the command as specified in the guide (btwcoefs=) and it works for when using grouped panel method, but not for the other two (see below). Is there a reason for that or is it a bug? dols_p...
by altaus
Wed Dec 14, 2016 10:45 am
Forum: Programming
Topic: Saving cointegration relationships from VECM
Replies: 5
Views: 863

Re: Saving cointegration relationships from VECM

Thanks, that worked.
by altaus
Wed Dec 14, 2016 9:49 am
Forum: Programming
Topic: Saving cointegration relationships from VECM
Replies: 5
Views: 863

Re: Saving cointegration relationships from VECM

Thanks, I had been following these instructions already.

Please see the workfile and program. I can run the makecoint line from the command window and I have no issues. However, when I run in from the program, eViews breaks down.

_var_us.makecoint

Regards,
Marta
by altaus
Wed Dec 14, 2016 7:53 am
Forum: Programming
Topic: Saving cointegration relationships from VECM
Replies: 5
Views: 863

Saving cointegration relationships from VECM

Hi, I am trying to save the cointegration relationships from a VECM using makecoint as in the capture screen but the program crashes every time. I am using eViews 9. Do you know the reason? Alternatively, how can I save the cointegration relationships from a vecm? {%var}.makecoint Thanks a lot in ad...
by altaus
Thu Nov 24, 2016 7:22 am
Forum: Programming
Topic: If Statement with string vector elements as conditions
Replies: 7
Views: 1310

Re: If Statement with string vector elements as conditions

1. For CA, US, JP and the UK, I want to obtain a variable, which I call %reer, which is the geometric average of the ratio of (cpi times e) for country i and (cpi time e) for country j raised to a weight(w(i,j)). series {%prd}=({%cpi}/100)*{%e} series {%prfij}= ({%prd}/{%prf})^w(!i,!j) {%reer}={%ree...
by altaus
Thu Nov 24, 2016 6:21 am
Forum: Programming
Topic: If Statement with string vector elements as conditions
Replies: 7
Views: 1310

Re: If Statement with string vector elements as conditions

Well, not sure what you mean. I have gone over and over again through the code and the data. I am obviously missing something. I attach the workfile with the data and the program. If you run it, you will see that despite the If statement the variables _prf_ca?? all follow the formula in the first pa...
by altaus
Thu Nov 24, 2016 5:10 am
Forum: Programming
Topic: If Statement with string vector elements as conditions
Replies: 7
Views: 1310

Re: If Statement with string vector elements as conditions

Thanks for you reply. The second If is supposed to be the one dictating the calculations applied to the variables. In any case, I tried simplifying and applying the condition to one code only as below. This finds it true for all the elements in sv_cc (see element below), and goes on with the functio...
by altaus
Thu Nov 24, 2016 4:10 am
Forum: Programming
Topic: If Statement with string vector elements as conditions
Replies: 7
Views: 1310

If Statement with string vector elements as conditions

Hi, I am trying to use an If statement within a For loop to apply some manipulation to certain variables only. In the If statement I have two conditions. One is that !i<>!j which seems to work. In the second condition I am breaking down the elements in the string vector sv_cc, which contains country...
by altaus
Wed Nov 23, 2016 1:56 am
Forum: Programming
Topic: Using a string list to set matrix labels
Replies: 2
Views: 1222

Re: Using a string list to set matrix labels

Great thanks! It works in eViews 9.
by altaus
Tue Nov 22, 2016 10:49 am
Forum: Programming
Topic: Using a string list to set matrix labels
Replies: 2
Views: 1222

Using a string list to set matrix labels

Hi, I am importing a weight matrix from Excel which have headers in both columns and rows. I want to import them together with the values but from what I have gathered it is not possible. I have followed this post (http://forums.eviews.com/viewtopic.php?t=11036), and copied the labels in a svector f...
by altaus
Thu Sep 08, 2016 9:46 am
Forum: Estimation
Topic: Near singular Matrix when extending sample size
Replies: 7
Views: 1639

Re: Near singular Matrix when extending sample size

so what do you recommend for this? It is Japan that is causing the problem, but with the extra data point. Does that make sense to you?
by altaus
Thu Sep 08, 2016 9:31 am
Forum: Estimation
Topic: Near singular Matrix when extending sample size
Replies: 7
Views: 1639

Re: Near singular Matrix when extending sample size

I don't know what to say. I have tried them again by downloading them in my computer and running both of them and I get the "near singular matrix" in the first. the second one runs normally. What error do you get?
by altaus
Thu Sep 08, 2016 9:20 am
Forum: Estimation
Topic: Near singular Matrix when extending sample size
Replies: 7
Views: 1639

Re: Near singular Matrix when extending sample size

Ok, I attach two workfiles with the results here

1. g4 dataset NOT WORKING >> if you try to estimate the system it provides with the near singular error.
2. g4_dataset OK substituting values>> the last observation in jp_lr and jp_sr has been changed and the system works

Go to advanced search