GAUSS 10 ols command gets undefined symbol: sdvsol

En la version gauss10, no puedo correr el comando ols.

{ vnam, m, b, stb, vc, stderr, sigma, cx, rsq, resid, dwstat } = ols (0,exc1, excmer)

Cada vez que lo corro me tira el error

Undefined symbols:
svdsol                             c:\gauss10\src\ols.src(309)

1 Answer


This is somewhat strange. Are you running and compiled GAUSS code with this (.gcg files)? Do you have any other versions of GAUSS on this computer?

Here is a workaround:

1. Comment out line 309 in ols.src. It should be a function call to 'svdsol'. You can comment it out by add // in front of the command like this:

//bhat = svdsol(y, x);

2. To make sure that you are notified if you happen to hit this code branch in the future add two more lines right after the line that you commented out. It is VERY IMPORTANT that these lines come immediately after the line you commented out and are inside the same 'if' block:

errorlogat "svdsol not available: choose another option for _olsalg";

This code will:

  1. Return an error message telling you what happened.
  2. Return the line and file in which the error occurred.
  3. Then end the program.

This will only happen if your code hits that branch. This code branch will only be hit if the _olsalg global control variable tells GAUSS to use svdsol to compute the parameter estimates. Otherwise it will all work correctly. So, make sure that this is set to "cholup".

You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.

Try GAUSS for 14 days for FREE

See what GAUSS can do for your data

© Aptech Systems, Inc. All rights reserved.

Privacy Policy