6

I am reading the second edition of Categorical Data Analysis by Alan Agresti, and somehow stuck in the following second paragraph: enter image description here

I don't quite understand why $\beta\pi(\hat{x})(1 - \pi(\hat{x}))$ will give the probability when $x = 26.3$, can anyone enlighten me? Thanks.

chl
  • 50,972
  • 18
  • 205
  • 364
lokheart
  • 2,999
  • 7
  • 37
  • 47

1 Answers1

6

The answer is near the bottom of p166. It's using a linear approximation (what social scientists would call a 'marginal effect'). A small change $\delta x$ in $x$ gives a change in probability of: $$\delta\pi \approx \frac{\partial \pi(x)}{\partial x} \delta x.$$ With $\operatorname{logit}(\pi(x)) = \alpha + \beta x$, it's straightforward to show that $ \partial \pi(x) / \partial x = \beta \pi(x)(1-\pi(x))$.

onestop
  • 16,816
  • 2
  • 53
  • 83