Open PhilippBach opened 10 months ago
Generally, we should add some checks requiring that x , d and y are subsets of names(data)
x
d
y
names(data)
https://github.com/MartinSpindler/hdm/blob/d9fe0f09a39a32959f0344632b0dda25197b9dd2/R/AutoDebiased_backends.R#L28-L30
and
https://github.com/MartinSpindler/hdm/blob/d9fe0f09a39a32959f0344632b0dda25197b9dd2/R/AutoDebiased_backends.R#L123-L125
And also here
https://github.com/MartinSpindler/hdm/blob/d9fe0f09a39a32959f0344632b0dda25197b9dd2/R/AutoDebiased_backends.R#L139
we should check whether d %in% const_cols
d %in% const_cols
Add similar checks for unit and time variables (panel data)
unit
time
https://github.com/MartinSpindler/hdm/blob/07bf7134a2b0710c011701592876655e8dbd4768/R/AutoDebiased_backends.R#L149
Generally, we should add some checks requiring that
x
,d
andy
are subsets ofnames(data)
https://github.com/MartinSpindler/hdm/blob/d9fe0f09a39a32959f0344632b0dda25197b9dd2/R/AutoDebiased_backends.R#L28-L30
and
https://github.com/MartinSpindler/hdm/blob/d9fe0f09a39a32959f0344632b0dda25197b9dd2/R/AutoDebiased_backends.R#L123-L125
And also here
https://github.com/MartinSpindler/hdm/blob/d9fe0f09a39a32959f0344632b0dda25197b9dd2/R/AutoDebiased_backends.R#L139
we should check whether
d %in% const_cols