Hi
I think there is an error in the user written command (shapley2).
To see this error;
1- Run a regression and save the coefficients
2- Use the commands;
shapley2 , stat(r2_w)
matrix list e(shapley)
3- Run the same regression again and you will find that the coefficients will change !
I am not sure why this is the case, but I have tried with different regression and different data sets.
If any one has a comment, please let me know ! having said that I don't think I am doing something wrong and you can see this yourself. Try on your data set !
Thanks
I think there is an error in the user written command (shapley2).
To see this error;
1- Run a regression and save the coefficients
2- Use the commands;
shapley2 , stat(r2_w)
matrix list e(shapley)
3- Run the same regression again and you will find that the coefficients will change !
I am not sure why this is the case, but I have tried with different regression and different data sets.
If any one has a comment, please let me know ! having said that I don't think I am doing something wrong and you can see this yourself. Try on your data set !
Thanks
Comment