3
$\begingroup$

Specifically I was wondering about this question.

It is definitely economics related, but once one writes down some equations it seems more like a computer science problem.

$\endgroup$
3
$\begingroup$

Economics continues to wed itself to statistical programming and fluency with R, Python, or some other language to do macro based problems. A question about programming a neoclassical growth model will definitely have relevance for future users of this site, and though it doesn't ask any explicit questions about the model itself and is, as you say, mostly a computer science question, I think a good answer to this question can highlight how to ensure the code for the model make economic sense. That is, it can actually solve it in a reasonable manner.

As you brought up in the comments, the form of utility and production matters. Particularly, we want to ensure the model has a solution and justify why we put certain constraints on some functional forms, and that is something that is relevant to economics. Code for this finite horizon problem might also use Euler equations, or a dynamic programming method, and that is relevant enough math for an economics problem. So that's my rough reasoning for why I'd say the question is on-topic.

$\endgroup$
  • 1
    $\begingroup$ I like the points you raise but I am a bit confused. From "ensure [...] the code [...] can actually solve it in a reasonable manner" it seems to me that most of your answer would be an algorithm, not actual code? You could of course also include a code snippet, but wouldn't you mostly be explaining the algorithm itself? $\endgroup$ – Giskard Dec 24 '18 at 19:21
  • 1
    $\begingroup$ Sloppy wording on my part. Whether parts of actual code, or an algorithm, or a bit of both is presented as part of an answer, does not particularly matter. You are right that practically one would probably present an algorithm that can solve the problem. $\endgroup$ – Kitsune Cavalry Dec 24 '18 at 19:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .