# GSA toolbox!Mapping the fit a problem!

**URL:** <https://forum.dynare.org/t/gsa-toolbox-mapping-the-fit-a-problem/1225>\
**Category:** Dynare help (legacy posts)\
**Created:** [9 November 2009 15:25 UTC](https://forum.dynare.org/t/gsa-toolbox-mapping-the-fit-a-problem/1225 "2009-11-09T15:25:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![petros\_varth](https://forum.dynare.org/letter_avatar_proxy/v4/letter/p/cc9497/32.png) [@petros\_varth](https://forum.dynare.org/u/petros_varth)\
**Post date:** [9 November 2009 15:25 UTC](https://forum.dynare.org/t/gsa-toolbox-mapping-the-fit-a-problem/1225/1 "2009-11-09T15:25:32Z")

</div>

I try to do the mapping fit in the New Keynesian model. I introduce data for output and inflation, i wouldnot make an estimation at this stage.Just to have an idea from the prior pdfs which parameter drives the fit.But i came up with the following error .  
??? Index exceeds matrix dimensions.

Error in ==\> dynare\_MC at 95  
x=[lpmat0(istable,🙂 lpmat(istable,:)];

Error in ==\> dynare\_sensitivity at 223  
dynare\_MC(],OutputDirectoryName);

Error in ==\> stagprices\_taylor\_sens at 187  
dynare\_sensitivity(options\_gsa);

Error in ==\> dynare at 125  
evalin(‘base’,fname) ;

Can anyone help me???  
[stagprices\_taylor\_sens.mod](https://forum.dynare.org/uploads/default/original/1X/7631659bb8b85bbd2e444015dc82ad722157e757.mod) (1.49 KB)

---

<div class="post-metadata">

**Author:** ![petros\_varth](https://forum.dynare.org/letter_avatar_proxy/v4/letter/p/cc9497/32.png) [@petros\_varth](https://forum.dynare.org/u/petros_varth)\
**Post date:** [13 November 2009 09:46 UTC](https://forum.dynare.org/t/gsa-toolbox-mapping-the-fit-a-problem/1225/2 "2009-11-13T09:46:54Z")

</div>

I asked Marco Ratto and told me that we have to include a pdf for standard errors.  
[stagprices\_taylor\_sens.mod](https://forum.dynare.org/uploads/default/original/1X/6347503df67ece1a44b3bdca1e2bf1f79d6f2f14.mod) (1.56 KB)
