Function Reference

RECS functions

  • recsAccuracy - Evaluate accuracy of a RECS solution
  • recsAccuracySP - Evaluate accuracy of a RECS solution for models with subperiods
  • recsAuxiliary - Calculates auxiliary variables not included in the core model of a RECS solution for models with subperiods
  • recsCheck - Check analytical derivatives against numerical ones
  • recsConvert - Convert the interpolation structure of a model to another form
  • recsDecisionRules - Plot a model decision rules
  • recsdemos - Run all RECS demonstration files
  • recsFirstGuess - Find a first guess using the perfect foresight solution or the first-order approximation of the model
  • recsFirstGuessSP - Find a first guess for models with subperiods
  • recsinterpinit - Prepare a RECS interpolation structure
  • recsmodel - Prepare a RECS model object
  • recsmodelsp - Prepare a RECS model object for models with subperiods
  • recsSimul - Simulate a model
  • recsSimulSP - Simulate a model with subperiods
  • recsSolveDeterministicPb - Solve a perfect foresight problem
  • recsSolveDeterministicPbSP - Solve a perfect foresight problem with subperiods
  • recsSolveREE - Find the rational expectations equilibrium (REE) of a model
  • recsSolveREESP - Find the rational expectations equilibrium (REE) of a model with subperiods
  • recsSolveREEFiniteHorizon - Solve a finite horizon rational expectations problem
  • recsSS - Solve for the deterministic steady state of a model
  • recsSSSP - Solve for the deterministic steady state of a model with subperiods

Nonlinear equations and MCP solvers that can be used with RECS

  • fsolve - Solve system of nonlinear equations (from MATLAB Optimization Toolbox)
  • lmmcp - Solve mixed complementarity problems
  • mcpsolve - Solve mixed complementarity problems
  • ncpsolve - Solve mixed complementarity problems (from CompEcon)
  • nsoli - Solve system of nonlinear equations by a Jacobian-free Newton-Krylov solver
  • recspathmcp - Solve mixed complementarity problems
  • SA - Solve a system of equations by successive approximation
  • SCP - Solve a problem through simple continuation method (homotopy)