Dynamic General Equilibrium (DGE) Calculator
Equilibrium Results
| Period | Output (Y) | Consumption (C) | Investment (I) | Capital (K) | Labor (L) | Wage (w) | Interest (r) |
|---|
Dynamic Analysis
What is Dynamic General Equilibrium (DGE) Calculator?
Dynamic General Equilibrium (DGE), often extended to Dynamic Stochastic General Equilibrium (DSGE) when incorporating random shocks, is a foundational macroeconomic modeling framework that analyzes how rational agents—households, firms, and governments—interact over time in markets that continuously clear. It captures intertemporal optimization, forward-looking behavior, and the propagation of shocks through the entire economy, making it the gold standard for central banks, finance ministries, and academic researchers worldwide.
Professionals searching for a dynamic general equilibrium calculator, online DSGE model simulator, DGE impulse response tool with visualizations, or professional DGE policy analysis calculator need a tool that goes far beyond static spreadsheets. This advanced Dynamic General Equilibrium (DGE) Calculator delivers exactly that. It solves full nonlinear models using state-of-the-art methods (time iteration, value function iteration, endogenous grid, perturbation, and linearization), generates interactive visualizations of macro variables, factor prices, capital dynamics, and shock responses, and includes a dedicated section for expert comments, dynamic economic analysis, and actionable policy recommendations. The tool provides transparent step-by-step calculations, allows users to download or export complete results (including paths, errors, and stability diagnostics) in CSV format, and offers a Colorblind view for improved accessibility so every chart and table remains clear and usable for all analysts
How to use this DGE Calculator
This DGE calculator enables users to simulate realistic macroeconomic scenarios, test monetary and fiscal policies, and evaluate shock responses in a fully consistent general equilibrium setting. It is ideal for central bank stress testing, academic dissertation work, investment strategy modeling, and policy impact assessment.
Key Inputs Explained:
- Time Horizon (Periods): Number of periods to simulate (default 50).
- Discount Factor (β): Households’ patience parameter (typically 0.96 quarterly).
- Capital Share (α): Share of output going to capital (usually 0.33).
- Depreciation Rate (δ): Annual capital depreciation (default 0.08).
- Initial Technology Level (A₀) and Technology Persistence (ρ): For productivity shocks.
- Initial Capital (K₀) and Initial Government Debt (B₀): Starting conditions.
- Government Spending (% of GDP) and Tax Rate (%): Fiscal policy parameters.
- Technology Shock Variance (σ²): Size of random productivity disturbances.
- Utility Function Type: CRRA, Cobb-Douglas, or CES.
- Risk Aversion (γ), Labor Supply Elasticity, and Labor Disutility (ψ): Household preferences.
- Market Structure: Complete, incomplete, or bonds-only markets.
- Monetary Policy Rule: Taylor rule, fixed rate, or inflation targeting.
- Solution Method: Choose from time iteration, value iteration, endogenous grid, perturbation, or linearization.
- Advanced Options: Inflation target, Taylor coefficients, price stickiness, number of sectors, fiscal rule.
After setting parameters, click Compute Equilibrium to run the full model.
Dynamic General Equilibrium (DGE) Formula
\(u'(C_t) = \beta E_t [u'(C_{t+1}) (1 + r_{t+1})]\)
\(Y_t = A_t K_t^\alpha L_t^{1-\alpha}\)
\(Y_t = C_t + I_t + G_t\)
Where:
u′(Ct) = Marginal utility of consumption
β = Discount factor
rt+1 = Real interest rate
Yt = Output
At = Technology level (with shocks)
Kt = Capital stock
Lt = Labor supply
α = Capital share
Ct = Consumption
It = Investment
Gt = Government spending
How to Calculate Dynamic General Equilibrium (Step-by-Step)
- Calibrate the model: Enter structural parameters (β, α, δ, γ, etc.) and initial conditions.
- Solve steady state: The calculator uses Newton-Raphson with Jacobian for fast, accurate convergence.
- Choose solution method: Select from five professional algorithms for the dynamic path.
- Simulate equilibrium: Generate time paths for output, consumption, investment, capital, wages, and interest rates.
- Add shocks: Technology shocks are automatically applied; impulse responses are computed instantly.
- Run diagnostics: Blanchard-Kahn stability check, market-clearing error logs, and equation residuals appear in the analysis section.
- Export and analyze: Review visualizations, policy recommendations, and download the full dataset in CSV.
Examples
Example 1: Technology Shock in a Standard RBC Model Parameters: β=0.96, α=0.33, δ=0.08, σ²=0.01, time horizon=50. A 10% positive technology shock raises output by 4.8% on impact, consumption by 2.9%, and investment by 12.4%. Capital accumulates gradually, returning to steady state in 18 periods. The impulse response chart shows hump-shaped dynamics. Analysis highlights strong propagation; recommendations suggest the central bank should lower rates temporarily to smooth the boom.
Example 2: Fiscal Expansion under Taylor Rule Government spending rises to 25% of GDP for 8 periods. Output increases 1.7% initially but crowds out private investment by 0.9%. Debt rises 12%. The model shows Ricardian equivalence partially offset by sticky prices. Convergence is slower (28 periods). Policy recommendations include pairing the spending increase with tax smoothing to minimize welfare loss, and monitoring inflation under the Taylor rule (φ_π=1.5).
Dynamic General Equilibrium Categories / Normal Range
| Indicator | Range | Interpretation | Policy Implication |
|---|---|---|---|
| Convergence Speed | <15 periods | Rapid adjustment to shocks | Stable economy, minimal intervention |
| Convergence Speed | 15–30 periods | Moderate persistence | Monitor transitional dynamics |
| Convergence Speed | >30 periods | Slow or unstable adjustment | Re-calibrate model or add frictions |
| Blanchard-Kahn Condition | Satisfied | Unique stable equilibrium | Model is reliable for forecasting |
| Blanchard-Kahn Condition | Violated | Multiple equilibria or instability | Switch to global solution methods |
| Average Market Error | <0.001 | Excellent market clearing | High confidence in results |
| Average Market Error | 0.001–0.01 | Acceptable for policy work | Good for most applications |
| Impulse Response Peak | Output >6% on 10% shock | Strong amplification | Economy is highly responsive |
Limitations
DGE models assume rational expectations and representative agents, which may not capture behavioral biases or heterogeneity. Computational demands are high for large-scale versions; the calculator uses efficient algorithms but complex calibrations can take seconds. Results are sensitive to parameter choice—small changes in β or γ can shift dynamics significantly. The tool does not include open-economy features, banking sectors, or climate modules in the base version. Always validate against real data and combine with other forecasting tools for high-stakes decisions.
Disclaimer
This Dynamic General Equilibrium (DGE) Calculator is provided for educational, research, and illustrative purposes only. Results, visualizations, step-by-step calculations, analysis, and recommendations are generated from user-input data and standard macroeconomic methods. They do not constitute professional economic, financial, or policy advice. Actual economic outcomes depend on countless real-world factors including political events, behavioral responses, and unforeseen shocks. Users should consult qualified macroeconomists, central bank researchers, or policy institutions before using these simulations for decision-making. The operators assume no liability for any losses, damages, or policy errors arising from the use of this tool.
