Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
command: sur()

Subject: command: sur()

From: Thijs

Date: 28 May, 2012 15:20:09

Message: 1 of 6

For my master thesis I use a Mathlab file to run an VAR model. One of the commands in the file is: [SI,PI,RI] = sur(Y0,X0,T0);
However, I get this error: "Undefined function or method 'sur' for input arguments of type 'double'." Does anyone know a solution?
Thanks!
Thijs

Subject: command: sur()

From: Matt J

Date: 28 May, 2012 15:34:07

Message: 2 of 6

"Thijs " <t.reiling@students.uu.nl> wrote in message <jq0539$r1b$1@newscl01ah.mathworks.com>...
> For my master thesis I use a Mathlab file to run an VAR model. One of the commands in the file is: [SI,PI,RI] = sur(Y0,X0,T0);
> However, I get this error: "Undefined function or method 'sur' for input arguments of type 'double'." Does anyone know a solution?
=============

Go to the person who gave you the file and tell them they forget to give you one of the subroutines. Or, try to write your own sur() command.

Subject: command: sur()

From: Roger Stafford

Date: 28 May, 2012 19:09:06

Message: 3 of 6

"Thijs " <t.reiling@students.uu.nl> wrote in message <jq0539$r1b$1@newscl01ah.mathworks.com>...
> For my master thesis I use a Mathlab file to run an VAR model. One of the commands in the file is: [SI,PI,RI] = sur(Y0,X0,T0);
> However, I get this error: "Undefined function or method 'sur' for input arguments of type 'double'." Does anyone know a solution?
- - - - - - - - - -
  There appears to be a 'sur' function (seemingly unrelated regressions) in Mathworks' Econometrics toolbox. Presumably you need to have that toolbox.

Roger Stafford

Subject: command: sur()

From: Matt J

Date: 28 May, 2012 19:22:06

Message: 4 of 6

"Roger Stafford" wrote in message <jq0igi$ioe$1@newscl01ah.mathworks.com>...
>
> There appears to be a 'sur' function (seemingly unrelated regressions) in Mathworks' Econometrics toolbox. Presumably you need to have that toolbox.
=============


I can't see one. Not as of R2012a anyway,

http://www.mathworks.com/help/toolbox/econ/bqu5mxk.html

Subject: command: sur()

From: Roger Stafford

Date: 28 May, 2012 20:40:07

Message: 5 of 6

"Matt J" wrote in message <jq0j8u$lpm$1@newscl01ah.mathworks.com>...
> I can't see one. Not as of R2012a anyway,
- - - - - - - - - -
  My (speculative) assertion was based on a statement 26 Oct 2009 by Helen Chen for the MATLAB Central Team at the Link Exchange site:

http://www.mathworks.com/matlabcentral/linkexchange/links/6-econometrics-toolbox

which said, "A bug in the sur.m function predicted values has been fixed."

  Perhaps the toolbox has been changed in the meantime? Or maybe this refers to a different toolbox? I am admittedly not well versed in econometrics (or the Link Exchange for that matter.)

Roger Stafford

Subject: command: sur()

From: Matt J

Date: 28 May, 2012 21:03:06

Message: 6 of 6

"Roger Stafford" wrote in message <jq0nr6$9f4$1@newscl01ah.mathworks.com>...
> "Matt J" wrote in message <jq0j8u$lpm$1@newscl01ah.mathworks.com>...
> > I can't see one. Not as of R2012a anyway,
> - - - - - - - - - -
> My (speculative) assertion was based on a statement 26 Oct 2009 by Helen Chen for the MATLAB Central Team at the Link Exchange site:
>
> http://www.mathworks.com/matlabcentral/linkexchange/links/6-econometrics-toolbox
>
> which said, "A bug in the sur.m function predicted values has been fixed."
>
> Perhaps the toolbox has been changed in the meantime? Or maybe this refers to a different toolbox? I am admittedly not well versed in econometrics (or the Link Exchange for that matter.)
>
===============


Hmmm. Seems that there are a few Econometrics Toolboxes floating around.

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us