-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathcorporatism.Rmd
32 lines (24 loc) · 1.56 KB
/
corporatism.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Corporatism: Hierarchical model for economic growth {#corporatism}
```{r corporatism_startup,message=FALSE}
library("rstan")
library("tidyverse")
```
The following program implements a regression model of economic growth among 16 OECD countries, 1971-1984 [@Western1998a, @AlvarezGarrettLange1991a].[^corporatism-src]
The model is hierarchical in that it specifies country-specific coefficients for the following predictors: lagged growth, demand, import price movements, export price movements, leftist government and an intercept.
The magnitudes of the country-specific coefficients are conditional on (time-invariant) extent of labor organization within each country; these regression relationships constitute the second level of the model.
The data come from N=16 countries, and $T=14$ years (1971:1984) with $K=6$ covariates at the lowest ("micro") level of the hierarchy, and $J=2$ covariates (an intercept and the labor organization variable) at the second level.
```{r corporatism}
data("corporatism", package = "bayesjackman")
```
```{r corporatism_country}
corporatism_country <- corporatism %>%
dplyr::select(country, labor.org) %>%
distinct()
```
```{r corporatism_mod,results='hide'}
corporatism_mod <- stan_model("stan/corporatism.stan")
```
```{r echo=FALSE,cache=FALSE,results='asis'}
corporatism_mod
```
[^corporatism-src]: Example derived from Simon Jackman, "[Corporatism: hierarchical or 'multi-level' model for economic growth in 16 OECD countries](https://web-beta.archive.org/web/20070724034043/http://jackman.stanford.edu/mcmc/corporatism.odc)", 2007-07-24.