Hey all,
I'm trying to apply difference in differences in stata for traders in stock markets before they use robot investing and after they use robot investing. My main dependent variable is portfolio performance, So I want to see how does their portfolio perform before and after using robot investing. The problem that concern me is that most of the things i saw on the internet had time variable (For example before 1994 after 1994). Where in my case i want to see before switching to robot, after switching to robot.
I have a variable for switching = 1 if investor switched to robot, 0 otherwise
and a variable that tells me whether this trade was made by a robot or human. 1 = robot, 0 = human.
Can someone please tell me how can I do the difference in differences in this case. Thanks
I'm trying to apply difference in differences in stata for traders in stock markets before they use robot investing and after they use robot investing. My main dependent variable is portfolio performance, So I want to see how does their portfolio perform before and after using robot investing. The problem that concern me is that most of the things i saw on the internet had time variable (For example before 1994 after 1994). Where in my case i want to see before switching to robot, after switching to robot.
I have a variable for switching = 1 if investor switched to robot, 0 otherwise
and a variable that tells me whether this trade was made by a robot or human. 1 = robot, 0 = human.
Can someone please tell me how can I do the difference in differences in this case. Thanks
Comment