Skip to content

Introduced internal analysis plots#79

Open
SGHoekstra wants to merge 6 commits intobancaditalia:mainfrom
SGHoekstra:internal_validity
Open

Introduced internal analysis plots#79
SGHoekstra wants to merge 6 commits intobancaditalia:mainfrom
SGHoekstra:internal_validity

Conversation

@SGHoekstra
Copy link
Collaborator

Created functions to analyse cross and autocorrrelations. Note, we need sufficiently long simulations for the estimates of the cross and autocorrelations to be stable.

Created functions to analyse cross and autocorrrelations.
Note, we need sufficiently long simulations for the estimates of the cross and autocorrelations to be stable.
Copy link
Collaborator

@ameligrana ameligrana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! I think that all the utility functions in crosscorrelations.jl should really be put inside our utils folder and then be called in the example, instead of being defined in the example itself

@aldoglielmo
Copy link
Collaborator

aldoglielmo commented Jul 15, 2025

Yes @SGHoekstra, I totally agree with @Tortar here. The bulk of your work should be inside the package so that other people can use it too. It suffices to move the main functions to some module within the utils folder and call them from the example

Major refactor of cross-correlation analysis in examples/analysis/figs/crosscorrelations.jl, including improved simulation and analysis workflow, modernized plotting, and use of new correlation utilities. Added src/utils/correlation_utils.jl with HP filter, cross-correlation, autocorrelation, and formatting functions.
@ameligrana
Copy link
Collaborator

Is this ready for review @SGHoekstra?

@SGHoekstra
Copy link
Collaborator Author

Yes it is!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants