-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathivreghdfe.sthlp
72 lines (47 loc) · 2.6 KB
/
ivreghdfe.sthlp
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{smcl}
{* *! version 1.1.1 14Dec2021}{...}
{vieweralsosee "ivreg" "help ivreg2"}{...}
{vieweralsosee "reghdfe" "help reghdfe"}{...}
{vieweralsosee "ftools" "help ftools"}{...}
{vieweralsosee "[R] ivregress" "help ivregress"}{...}
{vieweralsosee "" "--"}{...}
{title:Title}
{p2colset 5 18 20 2}{...}
{p2col :{cmd:ivreghdfe} {hline 2}}Extended instrumental variable regressions with multiple levels of fixed effects{p_end}
{p2colreset}{...}
{marker syntax}{...}
{title:Syntax}
{pstd}
{cmd:ivreghdfe} is essentially {help ivreg2} with an additional {help reghdfe##options:absorb()} option from {cmd:reghdfe}. See the links above for the detailed help files of each program.
{pstd}
To use {cmd:ivreghdfe}, you must have installed three packages: {cmd: ftools}, {cmd: reghdfe}, and {cmd: ivreg2}
(see the {browse "https://github.com/sergiocorreia/ivreghdfe#installation":online guide}).
{pstd}
You can also pass additional reghdfe optimization options directly:
{phang2}{stata sysuse auto}{p_end}
{phang2}{stata ivreghdfe price weight (length=gear), absorb(rep78) tol(1e-6)}{p_end}
{phang2}{stata ivreghdfe price weight (length=gear), absorb(rep78) accel(none)}{p_end}
{title:Citation}
Please cite the ivreg2 and/or reghdfe commands directly:
{phang}Baum, C.F., Schaffer, M.E., Stillman, S. 2010.
ivreg2: Stata module for extended instrumental variables/2SLS, GMM and AC/HAC, LIML and k-class regression.
{browse "http://ideas.repec.org/c/boc/bocode/s425401.html":http://ideas.repec.org/c/boc/bocode/s425401.html}{p_end}
{phang}Correia, Sergio. 2017.
Linear Models with High-Dimensional Fixed Effects: An Efficient and Feasible Estimator (Working Paper)
{browse "https://github.com/sergiocorreia/reghdfe/#citation":https://github.com/sergiocorreia/reghdfe/#citation}{p_end}
{title:Support for margins}
Note that there is experimental support for the {cmd:margins} postestimation command, but it hasn't been tested with advanced options such as nonlinear expressions.
{title:Feedback}
For any issues or suggestions, please see the {browse "https://github.com/sergiocorreia/ivreghdfe":Github} website, including the {browse "https://github.com/sergiocorreia/ivreghdfe/issues":issue tracker}.
{title:ivreg2 Authors}
Christopher F Baum, Boston College, USA
Mark E Schaffer, Heriot-Watt University, UK
Steven Stillman, Motu Economic and Public Policy Research
{title:reghdfe Author}
{pstd}Sergio Correia{break}
Board of Governors of the Federal Reserve{break}
Email: {browse "mailto:[email protected]":[email protected]}
{p_end}