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"
What does dot mean in correlation matrix?Hi all, when running correlation matrix, I face the situation that the correlation is ".", I am won…
Collecting Descriptive Stats (counts percentages) for categorical variables in a Postfile with a LoopHello, My goal is to collect counts and percentage of each level of a categorical variable in a Pos…
Need help combining my race variables into one categorical variableHi, I am new to stata and need help with the above complaints. I have data that has a variable for …
spmap code gives me no basemap data error despite data having _ID _CX _CY variablesHello, My current dataset for each county has _ID _CX _CY variables except for few counties. My mai…
Help obtaining number of previous appearances of unique ID within designated timeframeHello all, I have a "date" variable and an "ID" variable for a number of observations. I want to g…
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