TVAR estimation error

For questions about EViews Add-ins available from the EViews Add-ins webpage. Note each add-in available on our webpage will have its own individual thread.

Moderators: EViews Gareth, EViews Moderator, EViews Esther

mrrox
Posts: 20
Joined: Thu Oct 27, 2011 3:09 pm

TVAR estimation error

Postby mrrox » Fri Aug 10, 2012 4:24 am

Hi guys,

My eviews keeps returning the following error message every time I estimate TVAR equation. Below is the message:

> test<-TVAR(G, 2)
Error in as.matrix(data) : object 'G' not found
R (for 'test<-TVAR(G, 2)') returned an error: evaluation stopped because of an error.

can anyone please shed some light on this?

Much Appreciated,
mrrox

yasirjanjua
Posts: 6
Joined: Wed Aug 08, 2012 2:30 am

Re: TVAR estimation error

Postby yasirjanjua » Fri Aug 10, 2012 4:51 pm

Dear fellows and Eviews Gareth,
I am facing the same issue as mrrox is facing
how can we resolve and run programe properly
plz help us,
thanks
yasir janjua

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13584
Joined: Tue Sep 16, 2008 5:38 pm

TVAR estimation error

Postby EViews Gareth » Fri Aug 10, 2012 6:03 pm

Sounds like there is an error in the R script, which is out of our control.

yasirjanjua
Posts: 6
Joined: Wed Aug 08, 2012 2:30 am

Re: TVAR estimation error

Postby yasirjanjua » Fri Aug 10, 2012 9:55 pm

dear Gareth
There will be no solution and it means we couldn't use this ad-din
or if there is any type of solution please post as soon as possible
my thesis estimation based on this ad-din
i will be thankful to you man
yasir janjua

mrrox
Posts: 20
Joined: Thu Oct 27, 2011 3:09 pm

Re: TVAR estimation error

Postby mrrox » Sat Aug 11, 2012 4:35 am

Yes Gareth,

the problem is with the R code which I entered incorrectly. In this case, the names of the variables which I entered in upper case instead of lower case caused the issue.

yasirjanjua
Posts: 6
Joined: Wed Aug 08, 2012 2:30 am

Re: TVAR estimation error

Postby yasirjanjua » Sun Aug 12, 2012 6:55 am

Dear Gareth
I have tried the small letters but my program is still not evaluating
kindly send me the software of R and StatconnDCOM
or may i send my data and model to you people for the estimation
Please Reply soon
Yasir Janjua

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13584
Joined: Tue Sep 16, 2008 5:38 pm

Re: TVAR estimation error

Postby EViews Gareth » Sun Aug 12, 2012 10:57 am

We don't have anything to do with R. If the error is in the R script, there is nothing we can do.

yasirjanjua
Posts: 6
Joined: Wed Aug 08, 2012 2:30 am

Re: TVAR estimation error

Postby yasirjanjua » Sun Aug 12, 2012 10:01 pm

Dear Gareth
I have reinstalled all programs and they are working
i have used your following coding and R is evaluating also producing results in R
create m 1990 2000
series y=nrnd
series x=nrnd
series z=nrnd
group g x y z
xopen(r)
xrun library("tsDyn")
xput(rtype=ts) g
xrun test<-TVAR(G, 2)
xrun print(test)

but when i used my own data set that is annual(52 years data) than it doesn't work in the same script(why producing error do tell me the reason)
second, how can i estimate TVAR Models for 9 endogenous and two slack variable which can be used as delay variable with lag.
please if u have any type of coding or hint than share with me
i will be thankful
Yasir Mahmood

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13584
Joined: Tue Sep 16, 2008 5:38 pm

TVAR estimation error

Postby EViews Gareth » Sun Aug 12, 2012 10:23 pm

If the R script isn't working on your data set, you'll have to take it up with the authors of the R script.

dakila
Posts: 489
Joined: Tue Nov 24, 2015 4:57 pm

Re: TVAR estimation error

Postby dakila » Thu Apr 07, 2016 5:02 pm

Problem solved. You no longer need R to be installed. Please use the thsvar add-in.


Return to “Add-in Support”

Who is online

Users browsing this forum: No registered users and 2 guests