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"
new reshape issueSorry, this should be straightforward but I can't figure it out even after trying and using the manu…
Is ~ a valid character in a variable name?-import delimited- and -insheet- create variable names with a tilde when the name in the first line …
Question on stcompetDear Statalisters, I have a question on the command stcompet. I am considering the entry into a ma…
convert concatenate strings into numericDear Stata users, I have a data like below, the researchers input variables as alphabet. Now I want…
Random (clustered) sampling without replacement keeping two strata population proportionsDear Statalist, My first post on this site so please bear with me for any 'mild' transgressions I m…
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