Skip to main content
1 of 6
Sextus Empiricus
  • 93.9k
  • 6
  • 127
  • 338

Binomial regression

What you could use is a binomial regression. This would model the probability of a patient being female or male, as function of the predictor.

Linear or Logistic?

In the case when you only have a dummy variable (two values), then it does not matter whether you use a linear function or a logistic function.

In the plot below you see how it doesn't matter what sort of function you use when you only model only two values.

illustration

However, when you are looking at situations like age as a numeric predictor variable, then using some function as a logistic curve might give a difference.

Sextus Empiricus
  • 93.9k
  • 6
  • 127
  • 338