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"
panel regression analysis and skewed dataI am working with panel data and use xtlogit command to conduct multivariate regression analysis. Fo…
Efficient ways to increment dates by given intervalI am trying to achieve what I believe should be a relatively straight-forward task, which is to incr…
Five-Year Running Average by Country-YearHi all, I'm a new user to Stata. I have a dataset with a variable for different countries and years,…
Questions regarding etregress commandHi all, I have a few questions regarding etregress command, since I intend to incorporate that into…
Variable Names StataI am trying to download a CSV into stata14, however I do not want stata to read the first row as var…
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