A set of mod files for automatically transforming variables and adding shocks. See Example.mod for sample usage.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitattributes
.gitignore
ClassifyDeclare.mod
CreateDefineNumbersMod.m
CreateIndicesArray.mod
CreateShocks.mod
DefineNumbers.mod
Example.mod
ExampleOriginal.mod
ExampleUsingGrowthSyntax.mod
ExampleWithSpatialShocks.mod
GeneratePlotsForExampleWithSpatialShocks.m
GetDistance.mod
Initialize.mod
InsertNewEndSteadyStateEquations.mod
InsertNewModelEquations.mod
InsertNewShockBlockLines.mod
InsertNewStartSteadyStateEquations.mod
InsertNewSteadyStateEquations.mod
InternalClassifyDeclare.mod
LICENSE.txt
PatchDynareCholToSqrtm.m
PerformReplacement.mod
README.md

README.md

DynareTransformationEngine

A set of mod files for automatically transforming variables into logs or logits as appropriate, and for adding similarly transformed AR(1) shock processes.

Compare example_original.mod (not using the engine) and example.mod (using the engine) to see basic usage.

For leads greater than 1, insert: @#define MaximumLead = 2 at the top of your MOD file and then use ..._LEAD2, ..._LEAD3, etc.

For lags greater than 1, insert: @#define MaximumLag = 2 at the top of your MOD file and then use ...LAG2, ...LAG3, etc.