Error using adftest

I can't seem to get the adftest function from the econometrics toolbox to work.
Whenever I use it, I get the error message "??? Undefined function or method 'adftest' for input arguments of type 'double'.".
Upon trying to reproduce the examples using adftest from http://www.mathworks.com/help/toolbox/econ/bsf2u3f-1.html#bsf2u3f-13 I get the same error.
Any help would be greatly appreciated.

 Accepted Answer

Oleg Komarov
Oleg Komarov on 13 Apr 2011

0 votes

Seems like there is a path problem. Is the econometric toolbox listed when you type ver in the cmd window?

5 Comments

Ronert Obst
Ronert Obst on 13 Apr 2011
The econometrics toolbox is listed when I enter ver:
Econometrics Toolbox Version 1.4 (R2010b)
Oleg Komarov
Oleg Komarov on 13 Apr 2011
What do you get with:
which adftest -all
Ronert Obst
Ronert Obst on 13 Apr 2011
C:\Program Files\MATLAB\R2010b\toolbox\econ\econ\adftest.m % Has no license available
I guess this is the problem? I do have a license though...
Oleg Komarov
Oleg Komarov on 13 Apr 2011
Then you should configure properly the linceses.
This may be of help: http://www.mathworks.com/support/tech-notes/1300/1303.html#what_is_FLEXlm
Ronert Obst
Ronert Obst on 13 Apr 2011
Thank you very much!
Works now

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!