Logistic regression is a statistical method for analyzing a dataset in which there are one or more independent variables that determine an outcome. The outcome is measured with a dichotomous variable (in which there are only two possible outcomes).

## Formula

${\pi(x) = \frac{e^{\alpha + \beta x}}{1 + e^{\alpha + \beta x}}}$

Where −

- Response – Presence/Absence of characteristic.
- Predictor – Numeric variable observed for each case
- ${\beta = 0 \Rightarrow }$ P (Presence) is the same at each level of x.
- ${\beta \gt 0 \Rightarrow }$ P (Presence) increases as x increases
- ${\beta = 0 \Rightarrow }$ P (Presence) decreases as x increases.

### Example

**Problem Statement:**

Solve the logistic regression of the following problem Rizatriptan for Migraine

Response – Complete Pain Relief at 2 hours (Yes/No).

Predictor – Dose (mg): Placebo (0), 2.5,5,10

Dose | #Patients | #Relieved | %Relieved |
---|---|---|---|

0 | 67 | 2 | 3.0 |

2.5 | 75 | 7 | 9.3 |

5 | 130 | 29 | 22.3 |

10 | 145 | 40 | 27.6 |

**Solution:**

Having ${\alpha = -2.490} and ${\beta = .165}, we’ve following data:

\, = \frac{e^{-2.490 + 0}}{1 + e^{-2.490}} \\[7pt]

\\[7pt]

\, = 0.03 \\[7pt]

\pi(2.5) = \frac{e^{\alpha + \beta \times 2.5}}{1 + e^{\alpha + \beta \times 2.5}} \\[7pt]

\, = \frac{e^{-2.490 + .165 \times 2.5}}{1 + e^{-2.490 + .165 \times 2.5}} \\[7pt]

\, = 0.09 \\[7pt]

\\[7pt]

\pi(5) = \frac{e^{\alpha + \beta \times 5}}{1 + e^{\alpha + \beta \times 5}} \\[7pt]

\, = \frac{e^{-2.490 + .165 \times 5}}{1 + e^{-2.490 + .165 \times 5}} \\[7pt]

\, = 0.23 \\[7pt]

\\[7pt]

\pi(10) = \frac{e^{\alpha + \beta \times 10}}{1 + e^{\alpha + \beta \times 10}} \\[7pt]

\, = \frac{e^{-2.490 + .165 \times 10}}{1 + e^{-2.490 + .165 \times 10}} \\[7pt]

\, = 0.29 }$

Dose(${x}$) | ${\pi(x)}$ |
---|---|

0 | 0.03 |

2.5 | 0.09 |

5 | 0.23 |

10 | 0.29 |

Table of Contents

1.statistics adjusted rsquared

2.statistics analysis of variance

4.statistics arithmetic median

8.statistics best point estimation

9.statistics beta distribution

10.statistics binomial distribution

11.statistics blackscholes model

13.statistics central limit theorem

14.statistics chebyshevs theorem

15.statistics chisquared distribution

16.statistics chi squared table

17.statistics circular permutation

18.statistics cluster sampling

19.statistics cohens kappa coefficient

21.statistics combination with replacement

23.statistics continuous uniform distribution

24.statistics cumulative frequency

25.statistics coefficient of variation

26.statistics correlation coefficient

27.statistics cumulative plots

28.statistics cumulative poisson distribution

30.statistics data collection questionaire designing

31.statistics data collection observation

32.statistics data collection case study method

34.statistics deciles statistics

36.statistics exponential distribution

40.statistics frequency distribution

41.statistics gamma distribution

43.statistics geometric probability distribution

46.statistics gumbel distribution

49.statistics harmonic resonance frequency

51.statistics hypergeometric distribution

52.statistics hypothesis testing

53.statistics interval estimation

54.statistics inverse gamma distribution

55.statistics kolmogorov smirnov test

57.statistics laplace distribution

58.statistics linear regression

59.statistics log gamma distribution

60.statistics logistic regression

63.statistics means difference

64.statistics multinomial distribution

65.statistics negative binomial distribution

66.statistics normal distribution

67.statistics odd and even permutation

68.statistics one proportion z test

69.statistics outlier function

71.statistics permutation with replacement

73.statistics poisson distribution

74.statistics pooled variance r

75.statistics power calculator

77.statistics probability additive theorem

78.statistics probability multiplicative theorem

79.statistics probability bayes theorem

80.statistics probability density function

81.statistics process capability cp amp process performance pp

83.statistics quadratic regression equation

84.statistics qualitative data vs quantitative data

85.statistics quartile deviation

86.statistics range rule of thumb

87.statistics rayleigh distribution

88.statistics regression intercept confidence interval

89.statistics relative standard deviation

90.statistics reliability coefficient

91.statistics required sample size

92.statistics residual analysis

93.statistics residual sum of squares

94.statistics root mean square

96.statistics sampling methods

98.statistics shannon wiener diversity index

99.statistics signal to noise ratio

100.statistics simple random sampling

102.statistics standard deviation

103.statistics standard error se

104.statistics standard normal table

105.statistics statistical significance

108.statistics stem and leaf plot

109.statistics stratified sampling

112.statistics tdistribution table

113.statistics ti 83 exponential regression

114.statistics transformations

116.statistics type i amp ii errors

119.statistics weak law of large numbers