The Tax Receipts Forecasting Dashboard is an interactive tool designed to model and forecast tax revenue under various economic scenarios. Built with Streamlit, this dashboard uses SARIMAX models with exogenous variables to generate insights into the impact of economic factors like Corporate Profits (CP) and Job Openings (JTSJOL) on tax receipts.
See the app here: https://chrissimmerman-tax-receipt-forecasting-streamlit-app-6ftqol.streamlit.app
- 📊 Dynamic Scenario Modeling: Simulate scenarios such as recessions, booms, policy interventions, and pandemics.
- 🔮 Extrapolative Forecasting: Predict tax receipts and key economic indicators over a user-defined time horizon.
- 📈 Customizable Visualizations: Explore trends in Corporate Profits, Job Openings, and Tax Receipts using intuitive plots.
- ⚙️ Machine Learning Models: Leverage SARIMAX and Unobserved Components Models (UCM) for accurate predictions.
-
Scenario Analysis:
- Recession: Gradual decline in economic activity.
- Boom: Economic growth with increasing profits and job openings.
- Policy Intervention: Short-term boost due to fiscal or monetary policies.
- Pandemic: Sharp declines followed by recovery trends.
-
Forecast Customization:
- Adjustable forecast horizons (6-60 months).
- Confidence intervals for forecast uncertainty.
-
Data Insights:
- Real-time plotting of historical and forecasted data.
- Python 3.8+
- Virtual environment (optional but recommended)
-
Clone the repository:
git clone https://github.com/chrissimmerman/tax-receipts-forecast.git cd tax-receipts-forecast
-
Install dependencies:
pip install -r requirements.txt
-
Run the Streamlit app:
streamlit run streamlit_app.py
- Launch the app in your browser by following the instructions in the terminal.
- Use the sidebar to:
- Select a scenario to model.
- Adjust the forecast horizon.
- Toggle confidence intervals.
- Explore the forecasted trends in tax receipts, Corporate Profits (CP), and Job Openings (JTSJOL).
- SARIMAX:
- Predicts tax receipts with exogenous variables (
CP
,JTSJOL
).
- Predicts tax receipts with exogenous variables (
- UCM (Unobserved Components Model):
- Models trends in Corporate Profits (CP).
- FRED API:
- Corporate Profits (CP)
- Job Openings (JTSJOL)
- Consumer Price Index (CPIAUCSL)
- US Treasury Deptartment API:
- Monthly Treasury Statement (MTS)
- Custom transformations for inflation-adjusted data.
- Linear Interpolation of Corporate Profits (CP)