Class MacroIndicators

java.lang.Object
org.episteme.social.economics.MacroIndicators

public final class MacroIndicators extends Object
Standard macroeconomic formulas for GDP, inflation, trade, and debt analysis.
Since:
1.0
Version:
1.1
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Method Details

    • calculateGDP

      public static Money calculateGDP(Money consumption, Money investment, Money governmentSpending, Money netExports)
      GDP (Expenditure Approach): C + I + G + (NX).
    • realGDP

      public static Money realGDP(Money nominalGDP, Real deflator)
      Real GDP adjusted by deflator.
    • inflationRate

      public static Real inflationRate(Real cpiCurrent, Real cpiPrevious)
      Annual inflation rate based on Consumer Price Index (CPI).
    • debtToGDP

      public static Real debtToGDP(Money totalDebt, Money gdp)
      Debt-to-GDP ratio as a percentage.
    • taylorRule

      public static Real taylorRule(Real neutralRate, Real currentInflation, Real targetInflation, Real outputGap)
      Taylor Rule for central bank interest rate settings.
    • giniCoefficient

      public static Real giniCoefficient(List<Real> incomes)
      Gini coefficient for reaching income distribution analysis.