# GSA DEMO\_file Error

**URL:** <https://forum.dynare.org/t/gsa-demo-file-error/19613>\
**Category:** Installation and Setup\
**Created:** [10 January 2022 19:13 UTC](https://forum.dynare.org/t/gsa-demo-file-error/19613 "2022-01-10T19:13:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leonid\_65](https://forum.dynare.org/letter_avatar_proxy/v4/letter/l/85e7bf/32.png) [@Leonid\_65](https://forum.dynare.org/u/Leonid_65)\
**Post date:** [10 January 2022 19:13 UTC](https://forum.dynare.org/t/gsa-demo-file-error/19613/1 "2022-01-10T19:13:40Z")

</div>

Hello everyone.  
I got the next problem:  
After starting the ls2003.mod example from GSA demos ([dynare/tests/gsa at master · DynareTeam/dynare · GitHub](https://github.com/DynareTeam/dynare/tree/master/tests/gsa)) in Dynare (Version 4.4.3; 4.5.2) under Matlab (R2015a) I get, with error message:

NOW I DO STABILITY MAPPING and prepare sample for Reduced form Mapping

Press ENTER to continue

Attempt to execute SCRIPT qmc\_sequence as a function:  
D:\Program Files\MATLAB\MATLAB Production Server\R2015a\4.4.3\matlab\qmc\_sequence.m  
Error in stab\_map\_ (line 130)  
[lpmat] = qmc\_sequence(np, int64(1), 0, Nsam)’;  
Error in dynare\_sensitivity (line 230)  
x0 = stab\_map\_(OutputDirectoryName,options\_gsa);  
Error in ls (line 229)  
dynare\_sensitivity(options\_gsa);  
Error in dynare (line 180)  
evalin(‘base’,fname) ;

How could I solve this problem?  
Had anybody had the same problem? I couldn’t find any topics with that problem.

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [11 January 2022 08:08 UTC](https://forum.dynare.org/t/gsa-demo-file-error/19613/2 "2022-01-11T08:08:00Z")

</div>

There is something strange going on with the paths. `qmc_sequence` of Dynare is a mex-file located in `\dynare\4.*.*\mex\matlab`. Why is there an m-file with the same name in a subfolder of the Matlab installation?

---

<div class="post-metadata">

**Author:** ![Leonid\_65](https://forum.dynare.org/letter_avatar_proxy/v4/letter/l/85e7bf/32.png) [@Leonid\_65](https://forum.dynare.org/u/Leonid_65)\
**Post date:** [13 January 2022 16:31 UTC](https://forum.dynare.org/t/gsa-demo-file-error/19613/3 "2022-01-13T16:31:02Z")

</div>

Hi Prof. Pfeifer,  
I have a theoretical question.  
Which option for the command dynare\_sensitivity(…) can be used to find the Smirnov-Kolmogorov d-statistics (GSA) for all model parameters. The command dynare\_sensitivity; determines these statistics only for critical parameters.  
Thank you,  
Leonid

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [22 January 2022 15:26 UTC](https://forum.dynare.org/t/gsa-demo-file-error/19613/4 "2022-01-22T15:26:42Z")

</div>

Sorry for the delay. All results of the tests seem to be saved to the disk, but I have a hard time identifying the correct output. It may take a while more.
