-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme
30 lines (15 loc) · 951 Bytes
/
readme
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
Data Genertaion:
Generate data for Experiment A-3 from [1].
training_data.m: generate training data
testing_data.m: generate test data
Algorithm:
IMP_inv_training.m: The IMP procedure for training.
IMP_training.m: The IMP_inv procedure for training.
IMP_testing.m: The testing algorihtm for IMP and IMP_inv.
run_example.m: Run examples of Experiment A-3.
Utility Functions:
ols.m: Compute OLS estimaor.
multi_ols.m: Compute OLS for each environemnt.
residual_test.m: Test the invaraince of the residual (prcedure II from [2]).
[1] Du, Kang, and Yu Xiang. "Learning invariant representations under general interventions on the response." arXiv preprint arXiv:2208.10027 (2022).
[2] Peters, Jonas, Peter Bühlmann, and Nicolai Meinshausen. "Causal inference by using invariant prediction: identification and confidence intervals." Journal of the Royal Statistical Society Series B: Statistical Methodology 78.5 (2016): 947-1012.