cost-of-capital-calculator

A cost of capital and effective tax rate calculator

https://github.com/pslmodels/cost-of-capital-calculator

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.4%) to scientific vocabulary

Keywords

business-taxes cost-of-capital federal-taxes psl-cataloged tax-calculator
Last synced: 7 months ago · JSON representation ·

Repository

A cost of capital and effective tax rate calculator

Basic Info
  • Host: GitHub
  • Owner: PSLmodels
  • License: other
  • Language: Python
  • Default Branch: master
  • Homepage: https://ccc.pslmodels.org
  • Size: 123 MB
Statistics
  • Stars: 19
  • Watchers: 10
  • Forks: 33
  • Open Issues: 15
  • Releases: 51
Topics
business-taxes cost-of-capital federal-taxes psl-cataloged tax-calculator
Created almost 10 years ago · Last pushed about 1 year ago
Metadata Files
Readme Funding License Citation

README.md

| | | | --- | --- | | Org | PSL cataloged OS License: CCO-1.0 Jupyter Book Badge | | Package | Python 3.11 Python 3.12 Python 3.13 PyPI Latest Release PyPI Downloads Code style: black | | Testing | example event parameter example event parameter example event parameter Codecov |

Cost-of-Capital-Calculator

Cost-of-Capital-Calculator is a model that can be used to evaluate the effect of US federal taxes on the investment incentives of corporate and non-corporate businesses. Specifically, Cost-of-Capital-Calculator uses data on the business assets and financial policy, as well as microdata on individual tax filers, to compute marginal effective tax rates on new investments. In modeling the effects of changes to the individual income tax code, Cost-of-Capital-Calculator works with Tax-Calculator, another open-source model of US federal tax policy. Cost-of-Capital-Calculator is written in Python, an interpreted language that can execute on Windows, Mac, or Linux.

Installation

The ccc package can be installed with Anaconda via:

conda install -c conda-forge ccc

or with PyPI via:

pip install cost-of-capital-calculator

Web Application

Cost-of-Capital-Calculator is available through a web application, Cost of Capital Calculator. This app allows you to generate estimates of marginal effective tax rates and the cost of capital across production industries, type of asset, and separately for corporate and non-corporate entities and different forms of financing. The web application is limited in that you cannot consider policy reforms to the individual income tax code.

Contributing to Cost-of-Capital-Calculator

To contribute to Cost-of-Capital-Calculator, you'll want to clone the GitHub repository to your own machine, where you can work with and edit the source code. To do this, follow the following instructions: * Install the Anaconda distribution of Python * Clone this repository to a directory on your computer * From the terminal (or Conda command prompt), navigate to the directory to which you cloned this repository and run conda env create -f environment.yml * Then, conda activate ccc-dev * Run the model with an example reform from terminal/command prompt by typing python example.py * You can adjust the example.py by adjusting the individual income tax reform (using a dictionary or JSON file in a format that is consistent with Tax Calculator) or other model parameters specified in the business_tax_adjustments dictionary. * Model outputs will be saved in the following files: * ./baseline_byasset.csv * Cost of capital, marginal effective tax rates, effective average tax rates, and other model output for the baseline policy, organized by asset. * ./baseline_byindustry.csv * Cost of capital, marginal effective tax rates, effective average tax rates, and other model output for the baseline policy, organized by production industry. * ./reform_byasset.csv * Cost of capital, marginal effective tax rates, effective average tax rates, and other model output for the reform policy, organized by asset. * ./reform_byindustry.csv * Cost of capital, marginal effective tax rates, effective average tax rates, and other model output for the refrom policy, organized by production industry. * ./changed_byasset.csv * Differences in cost of capital, marginal effective tax rates, effective average tax rates, and other model output between the baseline and reform reform policies, organized by asset. * ./changed_byindustry.csv * Differences in cost of capital, marginal effective tax rates, effective average tax rates, and other model output between the baseline and reform reform policies, organized by production industry.

The CSV output files can be compared to the ./example_output/*_expected.csv files that are checked into the repository to confirm that you are generating the expected output. The easiest way to do this is to use the ./example-diffs command (or example-diffs on Windows). If you run into errors running the example script, please open a new issue in the Cost-of-Capital-Calculator repo with a description of the issue and any relevant tracebacks you receive.

Disclaimer

Results will change as the underlying models improve. A fundamental reason for adopting open source methods in this project is so that people from all backgrounds can contribute to the models that our society uses to assess economic policy; when community-contributed improvements are incorporated, the model will produce different results.

Citing the Cost-of-Capital-Calculator Model

Cost-of-Capital-Calculator (Version 1.5.2)[Source code], https://github.com/PSLmodels/Cost-of-Capital-Calculator

Owner

  • Name: Policy Simulation Library
  • Login: PSLmodels
  • Kind: organization
  • Email: admin@pslmodels.org

A library of open source models for public policy analysis

Citation (citations.bib)

@techreport{HHR2025,
  author = {Hartley, Jonathan and Hassett, Kevin and Rauh, Joshua D.},
  institution = {Stanford University},
  title = {Firm Investment and the User Cost of Capital: New U.S. Corporate Tax Reform Evidence},
  year = {2025},
  month = {January},
  url = {https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5103449}
}

@Article{Pomerleau2022,
  AUTHOR = {Kyle Pomerleau.},
  TITLE = {Section 199A and "Tax Parity"},
  journal = {AEI Economics Report},
  YEAR = {2022},
  month = {September},
  url = {https://www.aei.org/research-products/report/section-199a-and-tax-parity/>}
}


@Article{DeBacker2022,
  AUTHOR = {Jason DeBacker},
  TITLE = {The Cost of Capital in Times of High Inflation},
  journal = {Tax Notes},
  YEAR = {2022},
  month = {September},
  url = {}
}
@Article{DeBackerKasher2018,
  AUTHOR = {Jason DeBacker and Roy Kasher},
  TITLE = {Effective Tax Rates on Business Investment Under the Tax Cuts and Jobs Act},
  journal = {AEI Economics Perspectives},
  YEAR = {2018},
  month = {May},
  url = {https://www.aei.org/research-products/report/effective-tax-rates-on-business-investment-under-the-tax-cuts-and-jobs-act/}
}

@Article{DeBacker:2017b,
  author={Jason DeBacker},
  title={Estimating the Effects of Business Tax Reform on Output},
  journal={Quantitative Notes},
  year={2017},
  volume={},
  number={2017-2},
  pages={},
  month={November},
  keywords={},
  doi={},
  abstract={Tax policy can have strong effects on the incentives to invest. This note describes a simple approach to approximate the effects of tax policy on investment and output using open source data and models.},
  url={https://www.openrg.com/reports/CCC_Output_QN.pdf}
}

@Article{DeBacker:2017a,
  author={Jason DeBacker},
  title={Impacts of Business Tax Reform on Investment Incentives for the Retail Industry},
  journal={Quantitative Notes},
  year={2017},
  volume={},
  number={2017-1},
  pages={},
  month={September},
  keywords={},
  doi={},
  abstract={Business tax reform, which has loomed on the horizon for more than a decade, may finally have its chance in the next couple years. In this Quantitative Note, I explore the consequences of two business tax reform concepts on incentives to invest among C-corporations in the retail industry: a cash flow tax and a corporate income tax system with reduced rates.},
  url={https://www.openrg.com/reports/Retail_QN_091817.pdf}
}

@Techreport{DeBackerEvans:2023,
  AUTHOR = {Jason DeBacker and Richard W. Evans},
  TITLE = {What Business Tax Reforms Would Be Best for Tennessee?},
  INSTITUTION = {Center for Growth and Opportunity at Utah State University},
  YEAR = {2023},
  type = {Research in Focus},
  month = {January 12},
  url = {https://www.thecgo.org/research/what-business-tax-reforms-would-be-best-for-tennessee/}
}

@Techreport{Evans:2023,
  AUTHOR = {Richard W. Evans},
  TITLE = {What are the Effects of Missouri Corporate Income Tax Rate Cuts?},
  INSTITUTION = {Center for Growth and Opportunity at Utah State University},
  YEAR = {2023},
  type = {Research in Focus},
  month = {March 22},
  url = {https://www.thecgo.org/research/what-are-the-effects-of-missouri-corporate-income-tax-rate-cuts/}
}

@Techreport{Pomerleau2020,
  AUTHOR = {Kyle Pomerleau},
  TITLE = {The tax burden on business investment under Joe Biden's tax proposals},
  INSTITUTION = {American Enterprise Institute},
  YEAR = {2020},
  month = {September},
  url = {https://www.aei.org/research-products/report/the-tax-burden-on-business-investment-under-joe-bidens-tax-proposals/}
}

@Techreport{FHKM2020,
  AUTHOR = {Timothy Fitzgerald and Kevin Hassett and Cody Kallen and Casey B. Mulligan},
  TITLE = {An Analysis of Vice President Biden's Economic Agenda: The Long Run Impacts of Its Regulation, Taxes, and Spending},
  INSTITUTION = {Hoover Institution},
  YEAR = {2020},
  month = {October},
  url = {https://www.hoover.org/sites/default/files/research/docs/president_bidens_economic_agenda_hassett.pdf}
}

@Techreport{BunnPomerleau2021,
  AUTHOR = {Daniel Bunn and Kyle Pomerleau},
  TITLE = {Marginal Effective Tax Rates and the 2021 UK Budget},
  INSTITUTION = {Tax Foundation},
  YEAR = {2021},
  month = {March},
  number = {755},
  url = {https://www.aei.org/wp-content/uploads/2021/03/Pomerleau-Marginal-Effective-Tax-Rates-and-the-2021-UK-Budget-032321.pdf?x91208/}
}

GitHub Events

Total
  • Release event: 2
  • Watch event: 3
  • Issue comment event: 4
  • Push event: 10
  • Pull request event: 12
  • Create event: 2
Last Year
  • Release event: 2
  • Watch event: 3
  • Issue comment event: 4
  • Push event: 10
  • Pull request event: 12
  • Create event: 2

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 1,419
  • Total Committers: 16
  • Avg Commits per committer: 88.688
  • Development Distribution Score (DDS): 0.351
Past Year
  • Commits: 55
  • Committers: 1
  • Avg Commits per committer: 55.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
jdebacker j****r@g****m 921
Jason DeBacker j****r@A****l 157
Benjamin Gardner b****d@g****m 98
Peter Steinberg p****g@c****o 78
Jason DeBacker j****r@a****t 65
hdoupe h****e@g****m 26
duncanhobbs d****2@g****m 23
Martin Holmer m****r@g****m 19
Richard Evans r****n@g****m 9
Peter-Metz p****z@a****g 7
Jacob C 4****j 4
talumbau t****h@c****o 4
Kcreek Dev k****v@g****m 3
Matt Jensen m****n@a****g 3
Joseph Crail j****l@g****m 1
gdrosos t****4@a****r 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 27
  • Total pull requests: 104
  • Average time to close issues: 9 months
  • Average time to close pull requests: 6 days
  • Total issue authors: 5
  • Total pull request authors: 9
  • Average comments per issue: 1.59
  • Average comments per pull request: 1.36
  • Merged pull requests: 101
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 12
  • Average time to close issues: about 2 hours
  • Average time to close pull requests: 5 days
  • Issue authors: 1
  • Pull request authors: 2
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.92
  • Merged pull requests: 11
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jdebacker (21)
  • MattHJensen (2)
  • hdoupe (2)
  • kpomerleau (2)
  • rickecon (1)
Pull Request Authors
  • jdebacker (105)
  • hdoupe (6)
  • Peter-Metz (3)
  • duncanhobbs (2)
  • kcreekdev (2)
  • jwspada (1)
  • gdrosos (1)
  • sohamm20 (1)
Top Labels
Issue Labels
help wanted (5) good first issue (4) Hacktoberfest (1) bug (1)
Pull Request Labels

Packages

  • Total packages: 2
  • Total downloads:
    • pypi 2,205 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 1
    (may contain duplicates)
  • Total versions: 15
  • Total maintainers: 1
pypi.org: cost-of-capital-calculator

CCC: A Cost of Capital Calculator

  • Versions: 10
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 2,205 Last month
Rankings
Forks count: 6.8%
Dependent packages count: 10.1%
Stargazers count: 14.3%
Average: 18.5%
Dependent repos count: 21.6%
Downloads: 39.8%
Maintainers (1)
Last synced: 7 months ago
conda-forge.org: ccc

A cost of capital and effective tax rate calculator.

  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Forks count: 27.1%
Dependent repos count: 34.0%
Average: 40.2%
Stargazers count: 48.3%
Dependent packages count: 51.2%
Last synced: 8 months ago

Dependencies

.github/workflows/build_and_test.yml actions
  • actions/checkout v2 composite
  • codecov/codecov-action v1 composite
  • conda-incubator/setup-miniconda v2 composite
.github/workflows/check_jupyterbook.yml actions
  • actions/checkout v2 composite
  • conda-incubator/setup-miniconda v2 composite
.github/workflows/create_pip_package.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • pypa/gh-action-pypi-publish release/v1 composite
.github/workflows/deploy_jupyterbook.yml actions
  • JamesIves/github-pages-deploy-action releases/v3 composite
  • actions/checkout v2 composite
  • conda-incubator/setup-miniconda v2 composite
.github/workflows/check_formatting.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • psf/black stable composite
cs-config/setup.py pypi
setup.py pypi
environment.yml pypi
  • cs-kit >=1.16.8
  • cs2tc *
  • jupyter-book >=0.9.1