From papers to Julia code: examples wanted

Ian Weaver Started a very nice discussion in Slack that could use some more community input:

We want examples were Julia code matches the paper pseudo code or mathematical specification.

Here are some examples people fished from twitter, but we’d love to see yours!

cc @mbauman @brenhinkeller @icweaver

3 Likes

This thread:

4 Likes

Here’s one humble contribution

5 Likes

I made some performance concessions to keep it close to the paper’s equations, like computing the inverse of A.

Here is the package version (unregistered): GitHub - ew-git/PoissonFE.jl: Implements Poisson fixed effects regression and robust standard errors from Wooldridge (1999) in Julia. The implementation should be faster than GLM.jl with many fixed effects.

2 Likes

I recently coded up the implicit consumption aggregation calculation (non-homothetic CES) in

https://onlinelibrary.wiley.com/doi/epdf/10.3982/ECTA16317

as

for integration with AD. Will be registered soon.

1 Like

Honorary mention to the DiffEq Lotka Volterra in emojis

Another from the slack

1 Like