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,
Related Posts with Error message "outcome does not vary; remember 0=negative outcome, all other nonmissing values=positive outcome"
Merging two datasets - m:mDear Stata Users, Below I have a sample of two datasets: set1 and set2. I need to merge them. The p…
boottest: just as wild, 10X fasterAppendix A.2 of the paper about boottest describes an opportunity to speed up the program's construc…
Combine list options header and sepbyMy question doesn't go far past the title - is there a way to have the list command re-display the h…
Durbin Wu Hausman TestHello, i am struggling with interpreting results from Durbin-Wu Hausman Test for Pooled OLS and fi…
Split variable problemHi I want to divide a variable I have by 2. 01aug2018 will be one variable and the other time. Sampl…
Subscribe to:
Post Comments (Atom)
0 Response to Error message "outcome does not vary; remember 0=negative outcome, all other nonmissing values=positive outcome"
Post a Comment