Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • dynare dynare
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 108
    • Issues 108
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Dynare
  • dynaredynare
  • Issues
  • #566

Closed
Open
Created Dec 16, 2013 by Johannes Pfeifer@JohannesPfeiferDeveloper

Deal with stale files that are automatically loaded in computations of e.g. endogenous moments

In the computation of endogenous moments, e.g. in correlation_mc_analysis we have statements like

ListOfFiles = dir([ PATH  fname '_' TYPE 'Correlations*.mat']);
i1 = 1; tmp = zeros(SampleSize,1);
for file = 1:length(ListOfFiles)

Hence, all older files with endogenous moments are read out, regardless whether they stem from the current run or are older. This is very dangerous as those additional draws might be from different specifications. I would suggest to automatically delete those files upon running endogenous moments. Note that the same problem with the loading also occurs in identifcation and gsa and sometimes leads to crashes there as the specified number of draws does not coincide with the loaded ones.

Assignee
Assign to
Time tracking