Skip to content

Commit 9a67130

Browse files
Add page to docs
1 parent eec22b7 commit 9a67130

6 files changed

Lines changed: 265 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,4 @@ policyengine_uk/calibration/*.h5
5454

5555
*.ipynb
5656
!docs/**/*.ipynb
57+
!uprating_growth_factors.csv

docs/book/_config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ sphinx:
2121
- style.css
2222
extra_extensions:
2323
- "sphinx.ext.autodoc"
24-
- "sphinxarg.ext"
2524
- "sphinx.ext.viewcode"
2625
- "sphinx.ext.napoleon"
2726
- "sphinx_math_dollar"

docs/book/_toc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ parts:
44
- caption: Using the model
55
chapters:
66
- file: usage/getting-started
7+
- caption: Economic assumptions
8+
chapters:
9+
- file: assumptions/growthfactors
710
- caption: Programs
811
chapters:
912
- file: programs/gov/hmrc/child-benefit
Lines changed: 180 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,180 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"id": "cae6dd91",
6+
"metadata": {},
7+
"source": [
8+
"# Growth factors\n",
9+
"\n",
10+
"This page contains the growth factors used to uprate values in the model. These are used to uprate values from one year to the next, for example, to increase employment incomes in line with average earnings growth.\n"
11+
]
12+
},
13+
{
14+
"cell_type": "code",
15+
"execution_count": 1,
16+
"id": "8036244a",
17+
"metadata": {
18+
"tags": [
19+
"hide-input"
20+
]
21+
},
22+
"outputs": [
23+
{
24+
"data": {
25+
"text/html": [
26+
"<!--| quarto-html-table-processing: none -->\n",
27+
"<table id=\"itables_84b2b1c9_7d3c_452b_b0a7_ae38edc7e784\"><tbody><tr>\n",
28+
" <td style=\"vertical-align:middle; text-align:left\">\n",
29+
" <a href=https://mwouts.github.io/itables/><svg class=\"main-svg\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n",
30+
"width=\"64\" viewBox=\"0 0 500 400\" style=\"font-family: 'Droid Sans', sans-serif;\">\n",
31+
" <g style=\"fill:#d9d7fc\">\n",
32+
" <path d=\"M100,400H500V357H100Z\" />\n",
33+
" <path d=\"M100,300H400V257H100Z\" />\n",
34+
" <path d=\"M0,200H400V157H0Z\" />\n",
35+
" <path d=\"M100,100H500V57H100Z\" />\n",
36+
" <path d=\"M100,350H500V307H100Z\" />\n",
37+
" <path d=\"M100,250H400V207H100Z\" />\n",
38+
" <path d=\"M0,150H400V107H0Z\" />\n",
39+
" <path d=\"M100,50H500V7H100Z\" />\n",
40+
" </g>\n",
41+
" <g style=\"fill:#1a1366;stroke:#1a1366;\">\n",
42+
" <rect x=\"100\" y=\"7\" width=\"400\" height=\"43\">\n",
43+
" <animate\n",
44+
" attributeName=\"width\"\n",
45+
" values=\"0;400;0\"\n",
46+
" dur=\"5s\"\n",
47+
" repeatCount=\"indefinite\" />\n",
48+
" <animate\n",
49+
" attributeName=\"x\"\n",
50+
" values=\"100;100;500\"\n",
51+
" dur=\"5s\"\n",
52+
" repeatCount=\"indefinite\" />\n",
53+
" </rect>\n",
54+
" <rect x=\"0\" y=\"107\" width=\"400\" height=\"43\">\n",
55+
" <animate\n",
56+
" attributeName=\"width\"\n",
57+
" values=\"0;400;0\"\n",
58+
" dur=\"3.5s\"\n",
59+
" repeatCount=\"indefinite\" />\n",
60+
" <animate\n",
61+
" attributeName=\"x\"\n",
62+
" values=\"0;0;400\"\n",
63+
" dur=\"3.5s\"\n",
64+
" repeatCount=\"indefinite\" />\n",
65+
" </rect>\n",
66+
" <rect x=\"100\" y=\"207\" width=\"300\" height=\"43\">\n",
67+
" <animate\n",
68+
" attributeName=\"width\"\n",
69+
" values=\"0;300;0\"\n",
70+
" dur=\"3s\"\n",
71+
" repeatCount=\"indefinite\" />\n",
72+
" <animate\n",
73+
" attributeName=\"x\"\n",
74+
" values=\"100;100;400\"\n",
75+
" dur=\"3s\"\n",
76+
" repeatCount=\"indefinite\" />\n",
77+
" </rect>\n",
78+
" <rect x=\"100\" y=\"307\" width=\"400\" height=\"43\">\n",
79+
" <animate\n",
80+
" attributeName=\"width\"\n",
81+
" values=\"0;400;0\"\n",
82+
" dur=\"4s\"\n",
83+
" repeatCount=\"indefinite\" />\n",
84+
" <animate\n",
85+
" attributeName=\"x\"\n",
86+
" values=\"100;100;500\"\n",
87+
" dur=\"4s\"\n",
88+
" repeatCount=\"indefinite\" />\n",
89+
" </rect>\n",
90+
" <g style=\"fill:transparent;stroke-width:8; stroke-linejoin:round\" rx=\"5\">\n",
91+
" <g transform=\"translate(45 50) rotate(-45)\">\n",
92+
" <circle r=\"33\" cx=\"0\" cy=\"0\" />\n",
93+
" <rect x=\"-8\" y=\"32\" width=\"16\" height=\"30\" />\n",
94+
" </g>\n",
95+
"\n",
96+
" <g transform=\"translate(450 152)\">\n",
97+
" <polyline points=\"-15,-20 -35,-20 -35,40 25,40 25,20\" />\n",
98+
" <rect x=\"-15\" y=\"-40\" width=\"60\" height=\"60\" />\n",
99+
" </g>\n",
100+
"\n",
101+
" <g transform=\"translate(50 352)\">\n",
102+
" <polygon points=\"-35,-5 0,-40 35,-5\" />\n",
103+
" <polygon points=\"-35,10 0,45 35,10\" />\n",
104+
" </g>\n",
105+
"\n",
106+
" <g transform=\"translate(75 250)\">\n",
107+
" <polyline points=\"-30,30 -60,0 -30,-30\" />\n",
108+
" <polyline points=\"0,30 -30,0 0,-30\" />\n",
109+
" </g>\n",
110+
"\n",
111+
" <g transform=\"translate(425 250) rotate(180)\">\n",
112+
" <polyline points=\"-30,30 -60,0 -30,-30\" />\n",
113+
" <polyline points=\"0,30 -30,0 0,-30\" />\n",
114+
" </g>\n",
115+
" </g>\n",
116+
" </g>\n",
117+
"</svg>\n",
118+
"</a>\n",
119+
" Loading ITables v2.4.2 from the internet...\n",
120+
" (need <a href=https://mwouts.github.io/itables/troubleshooting.html>help</a>?)</td>\n",
121+
" </tr></tbody></table>\n",
122+
"<link href=\"https://www.unpkg.com/dt_for_itables@2.3.3/dt_bundle.css\" rel=\"stylesheet\">\n",
123+
"<script type=\"module\">\n",
124+
" import { ITable, jQuery as $ } from 'https://www.unpkg.com/dt_for_itables@2.3.3/dt_bundle.js';\n",
125+
"\n",
126+
" document.querySelectorAll(\"#itables_84b2b1c9_7d3c_452b_b0a7_ae38edc7e784:not(.dataTable)\").forEach(table => {\n",
127+
" if (!(table instanceof HTMLTableElement))\n",
128+
" return;\n",
129+
"\n",
130+
" let dt_args = {\"name\": \"Baseline Grow Factors\", \"max_rows\": 1000, \"layout\": {\"topStart\": \"pageLength\", \"topEnd\": \"search\", \"bottomStart\": \"info\", \"bottomEnd\": \"paging\"}, \"text_in_header_can_be_selected\": true, \"order\": [], \"style\": {\"table-layout\": \"auto\", \"width\": \"auto\", \"margin\": \"auto\", \"caption-side\": \"bottom\"}, \"classes\": [\"display\", \"nowrap\"], \"table_html\": \"<table><thead>\\n <tr style=\\\"text-align: right;\\\">\\n \\n <th>Variable</th>\\n <th>2020</th>\\n <th>2021</th>\\n <th>2022</th>\\n <th>2023</th>\\n <th>2024</th>\\n <th>2025</th>\\n <th>2026</th>\\n <th>2027</th>\\n <th>2028</th>\\n <th>2029</th>\\n <th>2030</th>\\n <th>2031</th>\\n <th>2032</th>\\n <th>2033</th>\\n <th>2034</th>\\n <th>Parameter</th>\\n </tr>\\n </thead></table>\", \"data_json\": \"[[\\\"afcs\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"afcs_reported\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"alcohol_and_tobacco_consumption\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"attendance_allowance_reported\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"bsp_reported\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"capital_gains\\\", 0, 7.2, 13.8, 6.6, 8.0, 6.8, 5.6, 4.5, 3.4, 3.5, 3.0, 3.0, 2.9, 2.8, 2.7, \\\"gov.obr.non_labour_income\\\"], [\\\"capital_gains_before_response\\\", 0, 7.2, 13.8, 6.6, 8.0, 6.8, 5.6, 4.5, 3.4, 3.5, 3.0, 3.0, 2.9, 2.8, 2.7, \\\"gov.obr.non_labour_income\\\"], [\\\"carers_allowance_reported\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"child_benefit_reported\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"child_tax_credit_reported\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"childcare_expenses\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"clothing_and_footwear_consumption\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"communication_consumption\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"corporate_wealth\\\", 0, 0.0, -10.9, 0.4, 3.0, 3.1, 3.5, 3.5, 3.5, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, \\\"household.wealth.corporate_wealth\\\"], [\\\"council_tax\\\", 0, 0.0, 0.0, 0.0, 6.4, 4.6, 4.5, 4.6, 4.5, 4.5, 0.0, 0.0, 0.0, 0.0, 0.0, \\\"gov.obr.council_tax\\\"], [\\\"diesel_spending\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"dividend_income\\\", 0, 6.8, 13.4, 5.2, 6.9, 5.7, 4.9, 3.8, 2.9, 3.0, 2.5, 2.5, 2.5, 2.4, 2.3, \\\"gov.obr.per_capita.non_labour_income\\\"], [\\\"dla_m_reported\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"dla_sc_reported\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"domestic_energy_consumption\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"education_consumption\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"employee_pension_contributions\\\", 0, 7.2, 7.4, 6.2, 5.0, 3.3, 2.0, 1.9, 2.3, 2.6, 1.5, 1.6, 1.5, 1.5, 1.5, \\\"gov.obr.per_capita.employment_income\\\"], [\\\"employer_pension_contributions\\\", 0, 7.2, 7.4, 6.2, 5.0, 3.3, 2.0, 1.9, 2.3, 2.6, 1.5, 1.6, 1.5, 1.5, 1.5, \\\"gov.obr.per_capita.employment_income\\\"], [\\\"employment_income\\\", 0, 7.2, 7.4, 6.2, 5.0, 3.3, 2.0, 1.9, 2.3, 2.6, 1.5, 1.6, 1.5, 1.5, 1.5, \\\"gov.obr.per_capita.employment_income\\\"], [\\\"employment_income_before_lsr\\\", 0, 7.2, 7.4, 6.2, 5.0, 3.3, 2.0, 1.9, 2.3, 2.6, 1.5, 1.6, 1.5, 1.5, 1.5, \\\"gov.obr.per_capita.employment_income\\\"], [\\\"esa_contrib_reported\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"esa_income_reported\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"food_and_non_alcoholic_beverages_consumption\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"gross_financial_wealth\\\", 0, 1.4, -10.8, 0.4, 3.0, 3.2, 3.4, 3.4, 3.6, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, \\\"household.wealth.financial_assets\\\"], [\\\"health_consumption\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"household_furnishings_consumption\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"household_weight\\\", 0, 0.4, 0.3, 1.4, 1.0, 1.1, 0.7, 0.8, 0.4, 0.5, 0.6, 0.4, 0.4, 0.5, 0.4, \\\"gov.ons.population\\\"], [\\\"housing_benefit_reported\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"housing_water_and_electricity_consumption\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"iidb_reported\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"incapacity_benefit_reported\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"income_support_reported\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"jsa_contrib_reported\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"jsa_income_reported\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"lump_sum_income\\\", 0, 6.8, 13.4, 5.2, 6.9, 5.7, 4.9, 3.8, 2.9, 3.0, 2.5, 2.5, 2.5, 2.4, 2.3, \\\"gov.obr.per_capita.non_labour_income\\\"], [\\\"main_residence_value\\\", 0, 1.4, -10.8, 0.4, 3.0, 3.2, 3.4, 3.4, 3.6, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, \\\"household.wealth.financial_assets\\\"], [\\\"maintenance_income\\\", 0, 6.8, 13.4, 5.2, 6.9, 5.7, 4.9, 3.8, 2.9, 3.0, 2.5, 2.5, 2.5, 2.4, 2.3, \\\"gov.obr.per_capita.non_labour_income\\\"], [\\\"miscellaneous_consumption\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"miscellaneous_income\\\", 0, 6.8, 13.4, 5.2, 6.9, 5.7, 4.9, 3.8, 2.9, 3.0, 2.5, 2.5, 2.5, 2.4, 2.3, \\\"gov.obr.per_capita.non_labour_income\\\"], [\\\"mortgage_capital_repayment\\\", 0, 8.2, 8.3, -1.0, 2.7, 2.4, 2.5, 2.6, 2.3, 2.4, 1.9, 1.9, 1.8, 1.8, 1.7, \\\"gov.obr.house_prices\\\"], [\\\"mortgage_interest_repayment\\\", 0, 0.3, 26.2, 48.5, 22.1, 13.6, 12.6, 8.2, 4.2, 4.7, 5.0, 4.7, 4.5, 4.3, 4.1, \\\"gov.obr.mortgage_interest\\\"], [\\\"net_financial_wealth\\\", 0, 1.4, -10.8, 0.4, 3.0, 3.2, 3.4, 3.4, 3.6, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, \\\"household.wealth.financial_assets\\\"], [\\\"non_residential_property_value\\\", 0, 1.4, -10.8, 0.4, 3.0, 3.2, 3.4, 3.4, 3.6, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, \\\"household.wealth.financial_assets\\\"], [\\\"other_investment_income\\\", 0, 6.8, 13.4, 5.2, 6.9, 5.7, 4.9, 3.8, 2.9, 3.0, 2.5, 2.5, 2.5, 2.4, 2.3, \\\"gov.obr.per_capita.non_labour_income\\\"], [\\\"other_residential_property_value\\\", 0, 1.4, -10.8, 0.4, 3.0, 3.2, 3.4, 3.4, 3.6, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, \\\"household.wealth.financial_assets\\\"], [\\\"owned_land\\\", 0, 1.4, -10.8, 0.4, 3.0, 3.2, 3.4, 3.4, 3.6, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, \\\"household.wealth.financial_assets\\\"], [\\\"pension_credit_reported\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"pension_income\\\", 0, 6.8, 13.4, 5.2, 6.9, 5.7, 4.9, 3.8, 2.9, 3.0, 2.5, 2.5, 2.5, 2.4, 2.3, \\\"gov.obr.per_capita.non_labour_income\\\"], [\\\"personal_pension_contributions\\\", 0, 7.2, 7.4, 6.2, 5.0, 3.3, 2.0, 1.9, 2.3, 2.6, 1.5, 1.6, 1.5, 1.5, 1.5, \\\"gov.obr.per_capita.employment_income\\\"], [\\\"petrol_spending\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"pip_dl_reported\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"pip_m_reported\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"private_pension_income\\\", 0, 6.8, 13.4, 5.2, 6.9, 5.7, 4.9, 3.8, 2.9, 3.0, 2.5, 2.5, 2.5, 2.4, 2.3, \\\"gov.obr.per_capita.non_labour_income\\\"], [\\\"private_transfer_income\\\", 0, 6.8, 13.4, 5.2, 6.9, 5.7, 4.9, 3.8, 2.9, 3.0, 2.5, 2.5, 2.5, 2.4, 2.3, \\\"gov.obr.per_capita.non_labour_income\\\"], [\\\"property_income\\\", 0, 6.8, 13.4, 5.2, 6.9, 5.7, 4.9, 3.8, 2.9, 3.0, 2.5, 2.5, 2.5, 2.4, 2.3, \\\"gov.obr.per_capita.non_labour_income\\\"], [\\\"recreation_consumption\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"rent\\\", 0, 1.8, 4.0, 6.3, 7.4, 5.7, 3.6, 2.7, 2.3, 2.4, 2.0, 2.1, 2.0, 2.0, 1.9, \\\"gov.obr.rent\\\"], [\\\"restaurants_and_hotels_consumption\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"savings\\\", 0, 1.4, -10.8, 0.4, 3.0, 3.2, 3.4, 3.4, 3.6, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, \\\"household.wealth.financial_assets\\\"], [\\\"savings_interest_income\\\", 0, 6.8, 13.4, 5.2, 6.9, 5.7, 4.9, 3.8, 2.9, 3.0, 2.5, 2.5, 2.5, 2.4, 2.3, \\\"gov.obr.per_capita.non_labour_income\\\"], [\\\"sda_reported\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"self_employment_income\\\", 0, 6.0, 6.3, 2.4, 4.8, 4.7, 3.1, 3.1, 3.6, 3.8, 2.3, 2.4, 2.2, 2.3, 2.2, \\\"gov.obr.per_capita.mixed_income\\\"], [\\\"ssmg_reported\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"state_pension\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"state_pension_reported\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"sublet_income\\\", 0, 6.8, 13.4, 5.2, 6.9, 5.7, 4.9, 3.8, 2.9, 3.0, 2.5, 2.5, 2.5, 2.4, 2.3, \\\"gov.obr.per_capita.non_labour_income\\\"], [\\\"transport_consumption\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"universal_credit_reported\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"winter_fuel_allowance_reported\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"], [\\\"working_tax_credit_reported\\\", 0, 3.9, 10.1, 5.7, 2.3, 3.2, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.5, 1.4, \\\"gov.obr.consumer_price_index\\\"]]\"};\n",
131+
" new ITable(table, dt_args);\n",
132+
" });\n",
133+
"</script>\n"
134+
],
135+
"text/plain": [
136+
"<IPython.core.display.HTML object>"
137+
]
138+
},
139+
"metadata": {},
140+
"output_type": "display_data"
141+
}
142+
],
143+
"source": [
144+
"from policyengine_uk.data.economic_assumptions import BASELINE_GROWFACTORS\n",
145+
"\n",
146+
"\n",
147+
"for col in BASELINE_GROWFACTORS.columns[1:-1]:\n",
148+
" BASELINE_GROWFACTORS[col] *= 100\n",
149+
"\n",
150+
"import itables\n",
151+
"\n",
152+
"BASELINE_GROWFACTORS\n",
153+
"\n",
154+
"# show in itables\n",
155+
"itables.show(BASELINE_GROWFACTORS, name=\"Baseline Grow Factors\", max_rows=1000)"
156+
]
157+
}
158+
],
159+
"metadata": {
160+
"kernelspec": {
161+
"display_name": "policyengine",
162+
"language": "python",
163+
"name": "python3"
164+
},
165+
"language_info": {
166+
"codemirror_mode": {
167+
"name": "ipython",
168+
"version": 3
169+
},
170+
"file_extension": ".py",
171+
"mimetype": "text/x-python",
172+
"name": "python",
173+
"nbconvert_exporter": "python",
174+
"pygments_lexer": "ipython3",
175+
"version": "3.11.13"
176+
}
177+
},
178+
"nbformat": 4,
179+
"nbformat_minor": 5
180+
}

0 commit comments

Comments
 (0)