Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LATE implementation details #1399

Open
mili-yini opened this issue Mar 1, 2024 · 2 comments
Open

LATE implementation details #1399

mili-yini opened this issue Mar 1, 2024 · 2 comments
Labels

Comments

@mili-yini
Copy link

mili-yini commented Mar 1, 2024

Does the implementation of LATE(instrumental variables (IV) regression) in grf have a detailed algorithm explanation, or are there any documents that can be referred to

@erikcs
Copy link
Member

erikcs commented Mar 1, 2024

If you want an abstract algorithm description, instrumental_forest is Algorithm 1 in https://arxiv.org/abs/1610.01271 with the estimating equation $\psi$ given by the moment functions described in section 7.1 of the same paper. The grf package also takes sample weights into account.

If you want something less abstract, then the description of causal_forest given here can be applied to IV forests too: IV forest first centers the outcome Y, treatment W, and instrument Z (ala Robinson for causal forest), then uses grf to find forest weights for a treatment effect $\tau(x)$ calculated as the forest-weighted two-stage least squares regression of centered Y on centered W and Z (i.e, where causal forest runs residualized regressions, instrumental forest runs two-stage residualized regressions).

@erikcs erikcs added the question label Mar 1, 2024
@mili-yini
Copy link
Author

mili-yini commented Mar 4, 2024

If you want an abstract algorithm description, instrumental_forest is Algorithm 1 in https://arxiv.org/abs/1610.01271 with the estimating equation ψ given by the moment functions described in section 7.1 of the same paper. The grf package also takes sample weights into account.

If you want something less abstract, then the description of causal_forest given here can be applied to IV forests too: IV forest first centers the outcome Y, treatment W, and instrument Z (ala Robinson for causal forest), then uses grf to find forest weights for a treatment effect τ(x) calculated as the forest-weighted two-stage least squares regression of centered Y on centered W and Z (i.e, where causal forest runs residualized regressions, instrumental forest runs two-stage residualized regressions).

Thank you very much,and how to understand in instrumental variable regression,
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants