Hello,

I have a binary variable that I called SRI. This variable equals 1 if an investor invests in an SRI fund, 0 otherwise. I ran a probit regression on the whole sample (which equals 1000). I also want to run a probit regression only on those who have invested in SRI funds (250 individuals), so I used this code probit SRI Envt Gender Age Education Financial_Knowledge if SRI==1. However I keep getting this error message "outcome does not vary; remember 0=negative outcome, all other nonmissing values=positive outcome".

I do not have any missing values and my variables are coded 0 and 1 (not 1 and 2)

Can someone help me with this?

Thank you,