Economic Policy Visualization
Wealth ยท Scales
November 4, 2024
Non-financial assets
Financial assets
Liabilities
No human, social and cultural capital; No public social security pensions (marketable vs. augmented wealth)
\[P_i(x_i) = Pr(X_i \leqslant x_i) = 1 - \left(\frac{m_i}{x_i}\right)^{\alpha_i}\] \[\forall ~\text{implicates} ~i = 1...5 \wedge x_i \geqslant m_i\]
A smaller \(\alpha\) means greater inequality. Empirically, \(\alpha\) often is around 1.5 for wealth.
Mean wealth | Mean GWG (in โฌ) | Mean GWG (in %) | Median Wealth | Median GWG (in โฌ) | Median GWG (in %) | |
---|---|---|---|---|---|---|
All respondents | ||||||
Couples | 356,553 | 173,683 | ||||
Male | 207,485 | 58,417 | 28 | 82,285 | 13,862 | 17 |
Female | 149,068 | 68,422 | ||||
Male respondent | ||||||
Male | 270,307 | 110,995 | 41.1 | 99,347 | 27,085 | 27.3 |
Female | 159,312 | 72,262 | ||||
Female respondent | ||||||
Male | 138,830 | 957 | 0.7 | 63,825 | โ1,395 | -2.2 |
Female | 137,873 | 65,220 |
Mean wealth | Mean MWG (in โฌ) | Mean MWG (in %) | Median Wealth | Median MWG (in โฌ) | Median MWG (in %) | |
---|---|---|---|---|---|---|
Natives | 165,730 | 59,001 | ||||
Migrants | ||||||
Total | 98,007 | 67,723 | 41 | 15,931 | 43,070 | 73 |
1st generation | 63,001 | 102,729 | 62 | 9,917 | 49,084 | 83 |
2nd generation | 139,775 | 25,955 | 16 | 32,763 | 26,238 | 44 |
1st generation migrants only | ||||||
Short stay | 39,598 | 126,132 | 76 | 4,935 | 54,066 | 92 |
Long stay | 86,317 | 79,413 | 48 | 20,196 | 38,805 | 66 |
Continuous
Dates
Others
scale_x_discrete(), scale_x_log10(), scale_x_reverse(), scale_x_sqrt(), โฆ
Manual
Gradient
Brewer
Others
scale_color_binned(), scale_color_distiller(), scale_color_grey(), โฆ
tribble(~x, ~y, ~significance, ~gdp, ~continent,
0.5, 0.5, "yes", 140, "Asia",
1.0, 0.5, "yes", 100, "Africa",
1.5, 0.5, "no", 250, "Europe") |>
ggplot(aes(x = x, y = y)) +
geom_point(aes(alpha = significance, size = gdp, shape = continent)) +
scale_alpha_discrete(range = c(0.5, 1), guide = guide_none()) +
scale_size_continuous(range = c(5, 12), guide = guide_none()) +
scale_shape_manual(values = c(17, 19, 15),
guide = guide_legend(title = "Continent",
override.aes = list(size = 5))) +
theme_minimal()
ggplot(aes(x = life_expectancy, y = poverty_rate, color = continent)) +
geom_point() +
scale_color_viridis_d(guide = guide_legend(title.position = "top",
title.theme = element_text(size = 2),
title.hjust = 0, title.vjust = 0.5,
label.position = "bottom",
label.hjust = 0, label.vjust = 0.5,
keywidth = 2, keyheight = 2,
direction = "horizontal",
override.aes = list(size = 4),
nrow = 1, ncol = 4,
byrow = FALSE, reverse = FALSE, ...))
Scale type | Default guide type |
---|---|
continuous scales for colour/fill aesthetics | colourbar |
binned scales for colour/fill aesthetics | coloursteps |
position scales (continuous, binned and discrete) | axis |
discrete scales (except position scales) | legend |
binned scales (except position/colour/fill scales) | bins |
PI 0750 Economic Policy (Applied track) | Winter term 2024