econ-ark / HARK

Heterogenous Agents Resources & toolKit
Apache License 2.0
315 stars 195 forks source link

Add an alternative way of implementing Tauchen's method to `make_tauchen_ar1()` #1409

Open DocFacTor opened 1 month ago

DocFacTor commented 1 month ago

By Qingyuan Fang

Please ensure your pull request adheres to the following guidelines:

mnwhite commented 1 month ago

Ruff is mad at two lines with improper whitespace, but otherwise this passes checks. This is functionality that we want, as it addresses true truncated processes, rather than those that are truncated as a matter of approximation.

Should probably add a test using the new feature, and do some sanity checks on its results.

llorracc commented 1 month ago

@mnwhite perhaps you could explain to what we mean by "a test using the new feature, and a sanity check on the results." Like, presumably, showing that the two methods get very close as the number of gridpoints increases?

mnwhite commented 1 month ago

Yes, but that was mostly a note to myself, and an indicator that the PR had been seen. I'll write more in the morning.

On Mon, Apr 15, 2024, 10:56 PM Christopher Llorracc Carroll < @.***> wrote:

@mnwhite https://github.com/mnwhite perhaps you could explain to what we mean by "a test using the new feature, and a sanity check on the results." Like, presumably, showing that the two methods get very close as the number of gridpoints increases?

— Reply to this email directly, view it on GitHub https://github.com/econ-ark/HARK/pull/1409#issuecomment-2058141371, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADKRAFIC6GTPK45SKAXP22TY5SHPRAVCNFSM6AAAAABGFW2BVCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJYGE2DCMZXGE . You are receiving this because you were mentioned.Message ID: @.***>