Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Data and code for analysis in "How does a Move to a Flat Tax Affect Household Filers? The Case of Kansas"

License

Notifications You must be signed in to change notification settings

TheCGO/KS-FlatTax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data and code for "How does a Move to a Flat Tax Affect Household Filers? The Case of Kansas"

This repository contains the data and code for the analyses in the Research in Focus article by Richard W. Evans (@rickecon) and Patrick Neyland (@taxpat) entitled "How does a Move to a Flat Tax Affect Household Filers? The Case of Kansas".

How to run the code from these analyses in the cloud in your browser

We have created a Google Colab notebook with code almost exactly the same as th code in the Jupyter Notebook KS_FlatTax.ipynb decribed in the next section. The Google Colab notebook has the advantage of using a distribution of Python and corresponding packages that run in the cloud on remote servers instead of on your local machine. This allows you to use the notebook from any kind of device with a browser. You can execute th code, see the results, and save output to a temporary cloud folder from which you can download anything you want to keep.

How to run the Jupyter Notebook on your machine

This repository contains a Jupyter Notebook KS_FlatTax.ipynb that can be run locally on your own machine to replicate the analyses in the paper. You can also modify this notebook to use for other analyses you might want to experiment with. To run this notebook locally on your machine, do the following steps:

  • Fork and clone (or download) the https://github.com/TheCGO/KS-FlatTax repository
  • In your computer's terminal, navigate to the directory of the KS-FlatTax repository on your local machine.
  • Create the conda environment ks-flattax-dev by typing the following command: conda env create -f environment.yml
  • Activate the ks-flattax-dev conda environment by typing the following command: conda activate ks-flattax-dev
  • This should allow your notebook to run while this conda environment is activated.

Files and directories in the repository

This repository contains the following items:

  • KS_FlatTax.ipynb Jupyter notebook. An executable notebook you can use to replicate all the analyses in the article and creation of output and figures.
  • /images/ directory. This folder contains the .html files for the dynamic visualizations in the paper and created in the notebook and the corresponding static .png image files.
    • /images/CurrReformExtraExempt.html. Dynamic data visualization Bokeh .html file, for web publication. Figure 5. Proposed Extra Income Exemption in SB 169 in Addition to Current Kansas Standard Deduction by Filer Type.
    • /images/CurrReformExtraExempt.png. Static .png file, for web publication. Figure 5. Proposed Extra Income Exemption in SB 169 in Addition to Current Kansas Standard Deduction by Filer Type.
    • /images/CurrReformTaxRates.html. Dynamic data visualization Bokeh .html file, for web publication. Figure 4. Kansas Current Progressive Marginal Tax Rates on Employment Income versus Proposed 5.15 Percent Flat Tax.
    • /images/CurrReformTaxRates.png. Static .png file, for web publication. Figure 4. Kansas Current Progressive Marginal Tax Rates on Employment Income versus Proposed 5.15 Percent Flat Tax.
    • /images/NetStateTaxLiabChg_alt1.html. Dynamic data visualization Bokeh .html file, for web publication. Figure 7. Alternative Policy 1, Dollar Change from Kansas Flat Tax Reform in Filer Net State Income Tax Liability, Flat tax 5.15%, Extra Exempt. $6.15k, $12.3k, $6.15k, $8k.
    • /images/NetStateTaxLiabChg_alt1.png. Static .png file, for web publication. Figure 7. Alternative Policy 1, Dollar Change from Kansas Flat Tax Reform in Filer Net State Income Tax Liability, Flat tax 5.15%, Extra Exempt. $6.15k, $12.3k, $6.15k, $8k.
    • /images/NetStateTaxLiabChg_alt2.html. Dynamic data visualization Bokeh .html file, for web publication. Figure 8. Alternative Policy 2, Dollar Change from Kansas Flat Tax Reform in Filer Net State Income Tax Liability, Flat tax 5.05%, Extra Exempt. $5.85k, $11.7k, $5.85k, $7.5k.
    • /images/NetStateTaxLiabChg_alt2.png. Static .png file, for web publication. Figure 8. Alternative Policy 2, Dollar Change from Kansas Flat Tax Reform in Filer Net State Income Tax Liability, Flat tax 5.05%, Extra Exempt. $5.85k, $11.7k, $5.85k, $7.5k.
    • /images/NetStateTaxLiabChg_alt3.html. Dynamic data visualization Bokeh .html file, for web publication. Figure 9. Alternative Policy 3, Dollar Change from Kansas Flat Tax Reform in Filer Net State Income Tax Liability, Flat tax 5.25%, Extra Exempt. $6.15k, $12.3k, $6.15k, $8k.
    • /images/NetStateTaxLiabChg_alt3.png. Static .png file, for web publication. Figure 9. Alternative Policy 3, Dollar Change from Kansas Flat Tax Reform in Filer Net State Income Tax Liability, Flat tax 5.25%, Extra Exempt. $6.15k, $12.3k, $6.15k, $8k.
    • /images/NetStateTaxLiabChg.html. Dynamic data visualization Bokeh .html file, for web publication. Figure 6. Dollar Change from Kansas Flat Tax Reform in Filer Net State Income Tax Liability.
    • /images/NetStateTaxLiabChg.png. Static .png file, for web publication. Figure 6. Dollar Change from Kansas Flat Tax Reform in Filer Net State Income Tax Liability.
    • /images/rain_totbal_50_ks_timeseries_nosubtxt.html. Dynamic data visualization Bokeh .html file, no subtext captions, for web publication. Figure 2. Rainy Day fund and total reserves as a percentage of general fund expenditures: 2000-2023.
    • /images/rain_totbal_50_ks_timeseries_nosubtxt.png. Static .png file, no subtext captions, for web publication. Figure 2. Rainy Day fund and total reserves as a percentage of general fund expenditures: 2000-2023.
    • /images/rain_totbal_50_ks_timeseries.html. Dynamic data visualization Bokeh .html file with subtext captions. Figure 2. Rainy Day fund and total reserves as a percentage of general fund expenditures: 2000-2023.
    • /images/rain_totbal_50_ks_timeseries.png. Static .png file, with subtext captions. Figure 2. Rainy Day fund and total reserves as a percentage of general fund expenditures: 2000-2023.
    • /images/rain_totbal_pct_2022_nosubtxt.html. Dynamic data visualization Bokeh .html file, without subtext captions, for web publication. Figure 3. 2022 Rainy day Fund Balances and Total Fund Balances as Percent of General Fund Expenditures.
    • /images/rain_totbal_pct_2022_nosubtxt.png. Static .png file, without subtext captions, for web publication. Figure 3. 2022 Rainy day Fund Balances and Total Fund Balances as Percent of General Fund Expenditures.
    • /images/rain_totbal_pct_2022.html. Dynamic data visualization Bokeh .html file, with subtext captions. Figure 3. 2022 Rainy day Fund Balances and Total Fund Balances as Percent of General Fund Expenditures.
    • /images/rain_totbal_pct_2022.png. Static .png file, with subtext captions. Figure 3. 2022 Rainy day Fund Balances and Total Fund Balances as Percent of General Fund Expenditures.
    • /images/state_taxtype_2023.html. Dynamic data visualization Bokeh .html file. Figure 1. Type of state employment income tax system as of January 2023.
    • /images/state_taxtype_2023.png. Static .png file. Figure 1. Type of state employment income tax system as of January 2023.
  • /data/ directory. This directory contains the data used in the analyses in the article--PEW total balances and rainy day fund balances historical data for all 50 states.

About

Data and code for analysis in "How does a Move to a Flat Tax Affect Household Filers? The Case of Kansas"

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published