Skip to content

Commit ee5a097

Browse files
authored
example on aggregation (#746)
1 parent 596eb6b commit ee5a097

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/regression_decomposition.ipynb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1614,7 +1614,14 @@
16141614
"\n",
16151615
" $$\n",
16161616
" \\hat{\\delta}_{k} = \\hat{\\Gamma}_{k} \\hat{\\beta}_{2,k}.\n",
1617-
" $$\n"
1617+
" $$\n",
1618+
"\n",
1619+
"\n",
1620+
"After having obtained $\\delta_{k}$ for each auxiliary variable $k$, we can easily aggregate multiple variables into a single groups of interest. For example, if $X_{2}$ contains a set of dummies from industry fixed effects, we could compute the explained part of \"industry\" by summing over all the dummies: \n",
1621+
"\n",
1622+
"$$\n",
1623+
" \\hat{\\delta}_{\\textit{industry}} = \\sum_{k \\in \\textit{industry dummies}} \\hat{\\Gamma}_{k} \\hat{\\beta}_{2,k}\n",
1624+
"$$"
16181625
]
16191626
},
16201627
{

0 commit comments

Comments
 (0)