# gsa\_sample\_file argument of identification function not working

**URL:** <https://forum.dynare.org/t/gsa-sample-file-argument-of-identification-function-not-working/26949>\
**Category:** Identification/Sensitivity\
**Created:** [29 December 2024 09:16 UTC](https://forum.dynare.org/t/gsa-sample-file-argument-of-identification-function-not-working/26949 "2024-12-29T09:16:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iancontreras](https://forum.dynare.org/letter_avatar_proxy/v4/letter/i/7ab992/32.png) [@iancontreras](https://forum.dynare.org/u/iancontreras)\
**Post date:** [29 December 2024 09:16 UTC](https://forum.dynare.org/t/gsa-sample-file-argument-of-identification-function-not-working/26949/1 "2024-12-29T09:16:06Z")

</div>

Bug Report: checkpath Function Error in Dynare Identification Analysis

Description:  
When attempting to use the GSA (Global Sensitivity Analysis) sample file option in the identification command, Dynare fails with a missing function error.

Steps to Reproduce:

1. Run the following command:  
identification(advanced=1, gsa\_sample\_file=2);

Error Stack:

1. Primary error: “Unrecognized function or variable ‘checkpath’”
2. Error occurs in sequence:
  - dynare\_identification (line 253): GSAFolder = checkpath(‘gsa’,dname);
  - nash.driver (line 375): dynare\_identification(options\_ident);
  - dynare (line 289): evalin(‘base’,[fname ‘.driver’]);
  - compare\_regimes (line 5): dynare nash

---

<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:** [1 January 2025 09:41 UTC](https://forum.dynare.org/t/gsa-sample-file-argument-of-identification-function-not-working/26949/2 "2025-01-01T09:41:04Z")

</div>

Thanks for reporting this. A fix is at [🐛 fix gsa\_sample\_file option (!2335) · Merge requests · Dynare / dynare · GitLab](https://git.dynare.org/Dynare/dynare/-/merge_requests/2335)
