Testing program for problem A

List of tests

  1. accuracy on a sphere in the state space
  2. accuracy on a stochastic simulation
  3. Den Haan Marcet statistique

SVN archive

Archive name: http://www.cepremap.cnrs.fr/svn/JedcTestSuiteTestsA

Content

Comments

Example

void error(ytm1,yt,frwd_part,e,params,error)
{
  error[0] = yt[1] - params[0]*ytm1[1]-e[0];
  error[1] = yt[0] - params[1]*frwd_part[0];
}

void forward_part(ytm1,yt,ytp1,e,params,frwd)
{
  frwd_part[0] = ytp1[0]*ytp1[1];
}

then forward_part can be integrated as needed over the distribution of ytp1