Link: Logistic regression
Continuous variable
It’s more close to the linear regression.
Transform scale to log
- Transform
the probablitity of xtolog(odds of x) - Get a line that looks similar to linear model
- The line represents the fitted coefficients in terms of log
Interpret the result of logistic regression coefficients
Discrete variable
We can use t-test from linear model and apply it to logistic regression.

-
Transform
the probablitity of xtolog(odds of x) -
Get
log(odds gene_nor) -
Get
log(odds gene_mut) -
Get coefficients:
log1and(log2-log1)are the coefficients.Alternative form:
the latter is also called
log(odds ratio)