Page 1 of 1
TVAR estimation error
Posted: Fri Aug 10, 2012 4:24 am
by mrrox
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
Re: TVAR estimation error
Posted: Fri Aug 10, 2012 4:51 pm
by yasirjanjua
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
TVAR estimation error
Posted: Fri Aug 10, 2012 6:03 pm
by EViews Gareth
Sounds like there is an error in the R script, which is out of our control.
Re: TVAR estimation error
Posted: Fri Aug 10, 2012 9:55 pm
by yasirjanjua
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
Re: TVAR estimation error
Posted: Sat Aug 11, 2012 4:35 am
by mrrox
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.
Re: TVAR estimation error
Posted: Sun Aug 12, 2012 6:55 am
by yasirjanjua
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
Re: TVAR estimation error
Posted: Sun Aug 12, 2012 10:57 am
by EViews Gareth
We don't have anything to do with R. If the error is in the R script, there is nothing we can do.
Re: TVAR estimation error
Posted: Sun Aug 12, 2012 10:01 pm
by yasirjanjua
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
TVAR estimation error
Posted: Sun Aug 12, 2012 10:23 pm
by EViews Gareth
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.
Re: TVAR estimation error
Posted: Thu Apr 07, 2016 5:02 pm
by dakila
Problem solved. You no longer need R to be installed. Please use the thsvar add-in.