run_rainbowstats_script
ChatGPTUse this when the user wants economic or financial data analysis, charts, statistical modeling, or forecasts using time-series or cross-sectional data. RainbowStats retrieves data from FRED, the European Central Bank (ECB), U.S. Energy Information Administration (EIA), Bank of Japan (BOJ), Bank of England (BOE), World Bank, Eurostat, UN Comtrade, U.S. Treasury, BLS, and other supported databases. Analyze inflation, employment, wages, productivity, interest rates, exchange rates, energy, trade, and regional housing markets. Methods include regression, lagged transfer functions and multivariate transfer functions, genetic algorithms for model search, random forests and quantile random forests, spline regression, structural-break analysis, difference-in-differences, and synthetic control. Transform and align series, compare relationships across periods or regions, and produce charts, model summaries, and slideshows. Execute a read-only RainbowStats script with one equation per line; the final equation is displayed by the chart component. Use supported commands and data sources; this tool does not execute trades.






