Both my outcome variable and my independent variables are proportions (%). I am trying to run a logistic regression to see which independent variable is the most significant in its effect against my Y but stata gives me the
"outcome does not vary; remember:
0 = negative outcome,
all other nonmissing values = positive outcome" error.
I dont have any missing values, could someone explain to me what the error is or what i need to do to rectify it? Is there any other form of the logistic regression that i could use in this case?
Any help would be much appreciated
Related Posts with Logistic regression when all variables are proportions (percentages)
Help with Tabout One-way tableHello, I would like to make a simple summary statistic table describing 3 merges. I just renamed th…
Problem with margins after regression with cubic spline interaction termsHello, I am working on a longitudinal study looking for differences between two groups in the depen…
entropy and missing valuesThe number of non-missing values varies with cases. For example, as shown in the below table, a has …
Monthly panel data with missing values of annual between panels, and monthly within panelsHello STATA community, Firstly, I am sorry if my question is so basic but I am new to STATA. I am t…
Avoiding confounders when sampling from a larger cohortI am trying to look at glucose level variation based on another variable (var2) to see how var2 infl…
Subscribe to:
Post Comments (Atom)
0 Response to Logistic regression when all variables are proportions (percentages)
Post a Comment