I have estimated $E(Y|z,x1,x2)$ by typing npregress kernel y z x1 x2, noderivatives
Now I want to estimate $E(Y|z=1,x1,x2)-E(Y|z=0,x1,x2)$ using the fitted values, where x1 and x2 still run over all sample observations but z are fixed at user-specified values. How could I achieve this?
Thanks!
Now I want to estimate $E(Y|z=1,x1,x2)-E(Y|z=0,x1,x2)$ using the fitted values, where x1 and x2 still run over all sample observations but z are fixed at user-specified values. How could I achieve this?
Thanks!
Comment