-
Notifications
You must be signed in to change notification settings - Fork 713
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
Why Shape of Y in Causal Forest notebook is 1000*1000 #888
Comments
silulyu
changed the title
Shape of Y in Causal Forest notebook is weird
Why Shape of Y in Causal Forest notebook is 1000*1000
Jun 5, 2024
I'm unable to reproduce this - I see (1000,) as the shape of Y. Is it possible that you've redefined |
Thanks so much for your reply. That is a great catch! I add the function of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was running "Example Usage with Binary Treatment Synthetic Data" in the Causal Forest Notebook (https://github.com/py-why/EconML/blob/main/notebooks/Causal%20Forest%20and%20Orthogonal%20Random%20Forest%20Examples.ipynb). After running the following code, I found the shape of Y is weird. It is a 10001000 matrix while 2nd to 999th columns are all the same. I believe that we should reshape the Y matrix and only use the first column for modeling, however, that will make ATE results totally different (0.97 vs 3.1). How should I understand the shape of Y. Should it be a 10001000 matrix or 1000*1 matrix? Thank you!
The text was updated successfully, but these errors were encountered: