12
$\begingroup$

We have data with a binary outcome and some covariates. I used logistic regression to model the data. Just a simple analysis, nothing extraordinary. The final output is supposed to be a dose-response curve where we show how the probability changes for a specific covariate. Something like this:

enter image description here

We received some criticism from an internal reviewer (not a pure statistician) for choosing logistic regression. Logistic regression assumes (or defines) that the inflection point of the S-shaped curve on the probability scale is at probability 0.5. He argued that there would be no reason to assume that the inflection point was indeed at probability 0.5 and we should choose a different regression model that allows the inflection point to vary such that the actual position is data driven.

At first I was caught off guard by his argument, since I have never thought about this point. I did not have any arguments to why it would be justified to assume that the inflection point is at 0.5. After doing some research, I still don't have an answer to this question.

I came across 5-parameter logistic regression, for which the inflection point is an additional parameter, but it seems that this regression model is usually used when producing dose-response curves with a continuous outcome. I'm not sure if and how it can be extended to binary response variables.

I guess my main question is why or when it is OK to assume that the inflection point for a logistic regression is at 0.5? Does it even matter? I have never seen anybody fitting a logistic regression model and explicitly discussing the matter of the inflection point. Are there alternatives for creating a dose response curve where the inflection point is not necessarily at 0.5?

Just for completeness, the R code for generating the above picture:

dat <- read.csv("http://www.ats.ucla.edu/stat/data/binary.csv")
dat$rank <- factor(dat$rank)
logit <- glm(admit ~ gre + gpa + rank, family = binomial(link = "logit"), data = dat)
newdata <- data.frame(gre = seq(-2000,8000,1), gpa = 2.5, rank = factor(1,c(1,2,3,4)))
pp <- predict(logit, newdata, type = "response", se.fit = TRUE)
plot(newdata$gre, pp$fit, type="l", col="black", lwd=2,ylab="Probability", xlab="Dose")

Edit 1:

Just to add to what Scortchi said in one of the comments: The reviewer did indeed argue that biologically it might be more likely that the change in curvature occurs earlier than 0.5. Therefore his resistance against assuming that the inflection point is at 0.5.

Edit 2:

As a reaction to the comment by Frank Harrell:

As example, I modified my model above to include a quadratic and a cubic term in gre (which is the "dose" in this example).

logit <- glm(admit ~ gre+I(gre^2)+I(gre^3)+  gpa + rank, family = binomial(link = "logit"), data = dat)
newdata <- data.frame(admit=1, gre = seq(-2000,8000,1), gpa = 2.5, rank = factor(1,c(1,2,3,4)))
pp <- predict(logit, newdata, type = "response", se.fit = TRUE)
plot(newdata$gre, pp$fit, type="l", col="black", lwd=2,xlim=c(-2000,4000),ylab="Probability", xlab="Dose")

enter image description here

Despite the fact that it is probably not meaningful to add a quadratic and a cubic gre term in this case, we see that the form of the dose-response curve has changed. Indeed we now have two inflection points at about 0.25 and near 0.7.

$\endgroup$
1
  • 2
    $\begingroup$ Is that not just the same as asking to investigate non-linear relationships of predictors to the log-odds of response? $\endgroup$ Commented Nov 25, 2013 at 13:01

4 Answers 4

8
$\begingroup$

As touched upon by @scortchi the reviewer was operating under the false impression that it is not possible to model nonlinear effects of predictors on the logit scale in the context of logistic regression. The original model was quick to assume linearity of all predictors. By relaxing the linearity assumption, using for example restricted cubic splines (natural splines), the entire shape of the curve is flexible and inflection point is no longer an issue. Had there been a single predictor and had it been expanded using a regression spline, one could say that the logistic model makes only the assumptions of smoothness and independence of observations.

$\endgroup$
2
  • $\begingroup$ I have to admit that I'm not very familiar with spline regression. How would I ago about doing this together with logistic regression (in R). I modified my original post (edit 2) to include polynomial terms in the predictor. Could I use this as alternative to spline smoothing. Of course I don't have the same flexibility that I would have with splines. $\endgroup$
    – Francis
    Commented Nov 26, 2013 at 8:45
  • 1
    $\begingroup$ @Franco: Frank Harrell's own Regression Modelling Strategies - book, website, R package - should get you going. A brief discussion of some of the advantages of regression splines is here; but you're right of course that polynomials are an alternative. $\endgroup$ Commented Nov 26, 2013 at 11:02
4
$\begingroup$

It seems to me that the reviewer was just looking for something to say. Before examining such features of the specification like the implied inflection point, there is a ton of assumptions that we have made, in order to arrive at an estimable model. All could be questioned and debated -the use of the logistic function itself being a possible primary target: who told us that the conditional distribution of the underlying error term is logistic? Nobody.

So the issue is: what does the change of curvature signify? How important for the real-world phenomenon under study, may be the point at which this change of curvature happens, so that we would consider making it "data-driven"? Moving further away from the principle of parsimony?

The question is not "why the inflection point should be at 0.5?" But "how misleading it may be for our conclusions if it is left at 0.5?".

$\endgroup$
6
  • 3
    $\begingroup$ That seems a little uncharitable. We don't know that the reviewer didn't have good reason to challenge this assumption rather than others that he might have challenged. Leave to one side an odd way of putting it in terms of inflection points, & a possible misconception about logistic regression, & he's basically asking why the model lets the curve shift & stretch but not bend, which could well be deserving of an answer. $\endgroup$ Commented Nov 25, 2013 at 14:51
  • $\begingroup$ @Scortchi "odd way of putting it"... "a possible misconception about logistic regression"... If this is what it takes to rationalize the reviewer's critique, (s)he shouldn't have reviewed the paper after all. $\endgroup$ Commented Nov 25, 2013 at 14:58
  • 1
    $\begingroup$ As with @Scortchi I find this a little too sharp. Many of the more active people here have backgrounds in various sciences rather than mainstream statistics. Being a statistician, pure or otherwise, is neither essential nor sufficient to give good advice (although in almost all cases it manifestly will help). $\endgroup$
    – Nick Cox
    Commented Nov 27, 2013 at 17:02
  • $\begingroup$ @Nick Cox I accept the "sharpness", and I just deleted my last sentence, as a sign of consensus. My point is that questioning in a general way the assumptions of a model has no value -models are always false. So IF the probability where the curvature changes is somehow critical for the real-world phenomenon under study, then the reviewer was very right indeed to ask that this point becomes data-driven. But if the reviewer just commented "why at p=0.5 and not elsewhere?", this comment is not constructive. $\endgroup$ Commented Nov 27, 2013 at 17:25
  • 2
    $\begingroup$ Thanks for this. I agree with your general stance: (a) discussion of the merits of different approaches and (b) discussion of how we should discuss those are both fair game. Comments on individuals or even groups are in contrast not usually helpful (although I too sometimes cross the line in exasperation...). $\endgroup$
    – Nick Cox
    Commented Nov 27, 2013 at 17:35
1
$\begingroup$

The 0.5 inflection point is a small part of a larger question: the logistic equation is by construction symmetric. And in most derivations of it, the modeled effect has a reason to be symmetric. e.g. as one player wins the other player loses, or the effect responsible for saturation is the same physical effect responsible for the initial growth, etc.... So if there is a reason why the origin of the low X behavior is the same origin as the righ hand behavious or for any other reason the problem is symmetric then you have your justification.

if not, perhaps then the next simplest model is the generalized logistic equation. it has more parameters and you may want to add a constraint so they are not all free parameters. this is probably more desirable than the kludges you added because those are adding shelfs where the first derivative is oscilating back and forth-- that sort of thing tends to create fictional false points of local equilibrium if you are trying to optimize some expectation value of this distribution. the generalize form will break the symmetry but in a smooth way.

$\endgroup$
0
$\begingroup$

In m.h.o., the logit regression is a reasonable choice for dose- response. Of course, you can use probit , log-log, c-log-log link, and compare the goodness of fit (DEV, BIC, CAIC , etc.). But the simplest logit regression gives a comfortable formal assessment of the inflection point LD50 = -b0/b1. We remember that it is a specific point , for which we obtain the minimum uncertainty (cf. , LD16, LD84 , and any others will have a wider CI , see "Probit analysis” of Finney, 1947 , 1977). In my experience, always (?) It was better to use the logarithm of dose , and then just convert the 95% CI in the original scale . What is the nature of the other covariates in the model? I allude to the possibility to use multi-model approach... Certainly the Splines are flexible, but the formal parametrics is interpreted easier!

See http://www.epa.gov/ncea/bmds/bmds_training/software/overp.htm

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.