Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Mv77
Copy link
Collaborator

@Mv77 Mv77 commented Apr 26, 2022

I noticed a bug in the code that discretizes normal distributions using an equiprobable approximation. This is code that I added some months ago. I was not re-scaling the points from their standardized transformation appropriately.

This PR fixes the issue and adds a test.

I do not think this bug has any major impact:

  • Equiprobable is not the default discretization method for the normal distribution.
  • The normal distribution is not used much (at all?) around HARK. Most shocks are lognormal.

I'll only have to revise my estimate of my statistical proficiency downward.

@llorracc llorracc merged commit 9f5b115 into econ-ark:master Apr 27, 2022
@sbenthall sbenthall added this to the 0.13.0 milestone Jan 4, 2023
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