Skip to content

Commit

Permalink
Update PSL-catalog on 2024-03-08
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Mar 8, 2024
1 parent c4a10ba commit 7bff97e
Show file tree
Hide file tree
Showing 6 changed files with 2,834 additions and 886 deletions.
52 changes: 45 additions & 7 deletions Catalog/Cost-of-Capital-Calculator.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@

<h1>Cost-of-Capital-Calculator</h1>
<br />
<h5><p>Evaluates the effect of US federal taxes on businesses' investment incentives</p></h5>
<h5>A model to evaluate the effect of US federal taxes on businesses' investment incentives.</h5>

</div>
<br />
<div class="banner-image">

<img alt="Cost-of-Capital-Calculator" src="../imgs/PSL.svg" />
<img alt="Cost-of-Capital-Calculator" src="https://github.com/PSLmodels/Cost-of-Capital-Calculator/blob/master/docs/ccc.png" />

</div>
</div>
Expand All @@ -71,27 +71,65 @@ <h5><p>Evaluates the effect of US federal taxes on businesses' investment incent
<div class="text-box">
<div class="box-header"></div>
<div class="box-content">
<p>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 <a href="https://github.com/PSLmodels/tax-calculator">Tax-Calculator</a>, 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.</p> <h5>Installation</h5> <p>The <code>ccc</code> package can be installed with Anaconda via:</p> <p><code>conda install -c conda-forge ccc</code></p> <p>or with PyPI via:</p> <p><code>pip install cost-of-capital-calculator</code></p> <h5>Web Application</h5> <p>Cost-of-Capital-Calculator is available through a web application, <a href="https://compute.studio/PSLmodels/Cost-of-Capital-Calculator/">Cost of Capital Calculator</a>. 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.</p> <h5>Contributing to Cost-of-Capital-Calculator</h5> <p>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:</p> <ul> <li> <p>Install the <a href="https://www.anaconda.com/distribution/">Anaconda distribution</a> of Python</p> </li> <li> <p>Clone this repository to a directory on your computer</p> </li> <li> <p>From the terminal (or Conda command prompt), navigate to the directory to which you cloned this repository and run <code>conda env create -f environment.yml</code></p> </li> <li> <p>Then, <code>conda activate ccc-dev</code></p> </li> <li> <p>Run the model with an example reform from terminal/command prompt by typing <code>python example.py</code></p> </li> <li> <p>You can adjust the <code>example.py</code> by adjusting the individual income tax reform (using a dictionary or JSON file in a format that is consistent with <a href="https://github.com/PSLmodels/Tax-Calculator">Tax Calculator</a>) or other model parameters specified in the <code>business_tax_adjustments</code> dictionary.</p> </li> <li> <p>Model outputs will be saved in the following files:</p> <ul> <li><code>./baseline_byasset.csv</code><ul> <li>Cost of capital, marginal effective tax rates, effective average tax rates, and other model output for the baseline policy, organized by asset.</li> </ul> </li> <li><code>./baseline_byindustry.csv</code><ul> <li>Cost of capital, marginal effective tax rates, effective average tax rates, and other model output for the baseline policy, organized by production industry.</li> </ul> </li> <li><code>./reform_byasset.csv</code><ul> <li>Cost of capital, marginal effective tax rates, effective average tax rates, and other model output for the reform policy, organized by asset.</li> </ul> </li> <li><code>./reform_byindustry.csv</code><ul> <li>Cost of capital, marginal effective tax rates, effective average tax rates, and other model output for the refrom policy, organized by production industry.</li> </ul> </li> <li><code>./changed_byasset.csv</code><ul> <li>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.</li> </ul> </li> <li><code>./changed_byindustry.csv</code><ul> <li>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.</li> </ul> </li> </ul> </li> </ul> <p>The CSV output files can be compared to the <code>./example_output/*_expected.csv</code> 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 <code>./example-diffs</code> command (or <code>example-diffs</code> 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.</p>
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.
</div>
</div>



<div class="custom-section">

<div class="box">
<i class="fas fa-file-alt"> </i>
<h3>Policy Area</h3>
<p>Business Taxation<br />Investment</p>
</div>

<div class="box">
<i class="fas fa-globe"> </i>
<h3>Geography</h3>
<p>United States</p>
</div>

<div class="box">
<i class="fas fa-code"> </i>
<h3>Language</h3>
<p>Python</p>
</div>

</div>


<div class="button-container">
<a class="button" href="http://ccc.pslmodels.org/">User documentation</a><a class="button" href="https://compute.studio/PSLmodels/Cost-of-Capital-Calculator/">Link to webapp</a>

<a class="button" href="https://github.com/PSLmodels/Cost-of-Capital-Calculator"
>Code Repository</a
>

<a class="button" href="https://ccc.pslmodels.org/content/intro.html"
>User Documentation</a
>

<a class="button" href="https://ccc.pslmodels.org/content/intro.html"
>Contributor Documentation</a
>

<a class="button" href="https://github.com/PSLmodels/Cost-of-Capital-Calculator/releases"
>Recent Changes</a
>

</div>

<section class="maintainers-section">
<h2>Maintainers:</h2>
<div class="maintainer-container">
<div class="maintainers-grid">
<a class="maintainer-card" href="http://jasondebacker.com">

<a class="maintainer-card" href="https://github.com/jdebacker/">
<button class="maintainer-image-btn">
<img
alt="Jason DeBacker"
src="../imgs/default-maintainer.jpg"
src="https://avatars.githubusercontent.com/u/10715924?v=4"
/>
</button>
<p>Jason DeBacker</p>
Expand Down
147 changes: 147 additions & 0 deletions Catalog/OG-Core.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@

<!doctype html>
<html dir="ltr" lang="en">
<head>
<meta charset="utf-8" />
<meta content="width=device-width, initial-scale=1" name="viewport" />
<meta content="summary" name="twitter:card" />
<meta
content="http://pslmodels.org/imgs/PolicySimLibrary-1000px.png"
name="twitter:image"
/>
<meta content="Catalog" name="twitter:title" />
<title>PSL</title>
<script
async=""
src="https://www.googletagmanager.com/gtag/js?id=UA-128365658-1"
></script>
<script>
window.dataLayer = window.dataLayer || [];

function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "UA-128365658-1");
</script>
<link
crossorigin="anonymous"
href="https://use.fontawesome.com/releases/v5.5.0/css/all.css"
integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&amp;display=swap"
rel="stylesheet"
/>
<link
crossorigin="anonymous"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
rel="stylesheet"
/>
<link
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
rel="stylesheet"
/>
<link href="../CSS/catalog.css" rel="stylesheet" />
</head>

<body id="page">
<div id="navbar"></div>

<div class="banner">
<div class="banner-content">
<div class="banner-text">

<h1>OG-Core</h1>
<br />
<h5><p>A General Overlapping-Generations Model for Evaluating Fiscal Policy</p></h5>

</div>
<br />
<div class="banner-image">

<img alt="OG-Core" src="../imgs/PSL.svg" />

</div>
</div>
</div>

<div class="text-box">
<div class="box-header"></div>
<div class="box-content">
<p>| | | | --- | --- | | Org | <a href="https://www.PSLmodels.org"><img alt="PSL cataloged" src="https://img.shields.io/badge/PSL-cataloged-a0a0a0.svg" /></a> <a href="https://github.com/PSLmodels/OG-Core/blob/master/LICENSE"><img alt="OS License: CCO-1.0" src="https://img.shields.io/badge/OS%20License-CCO%201.0-yellow" /></a> <a href="https://pslmodels.github.io/OG-Core/"><img alt="Jupyter Book Badge" src="https://jupyterbook.org/badge.svg" /></a> | | Package | <a href="https://www.python.org/downloads/release/python-3916/"><img alt="Python 3.9" src="https://img.shields.io/badge/python-3.9-blue.svg" /></a> <a href="https://www.python.org/downloads/release/python-3108/"><img alt="Python 3.10" src="https://img.shields.io/badge/python-3.10-blue.svg" /></a> <a href="https://www.python.org/downloads/release/python-3118/"><img alt="Python 3.11" src="https://img.shields.io/badge/python-3.10-blue.svg" /></a> <a href="https://pypi.org/project/ogcore/"><img alt="PyPI Latest Release" src="https://img.shields.io/pypi/v/ogcore.svg" /></a> <a href="https://pypi.org/project/ogcore/"><img alt="PyPI Downloads" src="https://img.shields.io/pypi/dm/ogcore.svg?label=PyPI%20downloads" /></a> <a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg" /></a> | | Testing | <img alt="example event parameter" src="https://github.com/PSLmodels/OG-Core/actions/workflows/build_and_test.yml/badge.svg?branch=master" /> <img alt="example event parameter" src="https://github.com/PSLmodels/OG-Core/actions/workflows/deploy_docs.yml/badge.svg?branch=master" /> <img alt="example event parameter" src="https://github.com/PSLmodels/OG-Core/actions/workflows/check_black.yml/badge.svg?branch=master" /> <a href="https://codecov.io/gh/PSLmodels/OG-Core"><img alt="Codecov" src="https://codecov.io/gh/PSLmodels/OG-Core/branch/master/graph/badge.svg" /></a> |</p> <p>OG-Core is an overlapping-generations (OG) model core theory, logic, and solution method algorithms that allow for dynamic general equilibrium analysis of fiscal policy. OG-Core provides a general framework and is a dependency of several country-specific OG models, such as <a href="https://github.com/PSLmodels/OG-USA">OG-USA</a> and <a href="https://github.com/PSLmodels/OG-UK">OG-UK</a>. The model output includes changes in macroeconomic aggregates (GDP, investment, consumption), wages, interest rates, and the stream of tax revenues over time. Regularly updated documentation of the model theory--its output, and solution method--and the Python API is available <a href="https://pslmodels.github.io/OG-Core">here</a>.</p>
</div>
</div>




<div class="button-container">
<a class="button" href="https://pslmodels.github.io/OG-Core">User documentation</a><a class="button" href="https://github.com/PSLmodels/OG-Core#usingcontributing-to-OG-Core">Contributor documentation</a>
</div>

<section class="maintainers-section">
<h2>Maintainers:</h2>
<div class="maintainer-container">
<div class="maintainers-grid">

<a class="maintainer-card" href="https://sites.google.com/site/rickecon/">
<button class="maintainer-image-btn">
<img
alt="Richard W. Evans"
src="../imgs/default-maintainer.jpg"
/>
</button>
<p>Richard W. Evans</p>
</a>

<a class="maintainer-card" href="http://jasondebacker.com">
<button class="maintainer-image-btn">
<img
alt="Jason DeBacker"
src="../imgs/default-maintainer.jpg"
/>
</button>
<p>Jason DeBacker</p>
</a>

</div>
</div>
</section>

<div id="footer"></div>
</body>
<script>
{
fetch('/layout/navbar.html')
.then(response => response.text())
.then(data => {
document.getElementById('navbar').innerHTML = data;
});

fetch('/layout/footer.html')
.then(response => response.text())
.then(data => {
document.getElementById('footer').innerHTML = data;
});
}
</script>
</body>
<script
crossorigin="anonymous"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
></script>
</html>
Loading

0 comments on commit 7bff97e

Please sign in to comment.