Score Function

Score Function

$X \text{ ~ } f(x;\theta)$์ผ ๋•Œ, score function $s(\theta;x)$์€ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ •์˜ํ•œ๋‹ค.
$$\frac{\partial}{\partial\theta}logf(x;\theta) $$

ํ‰๊ท  ๊ณ„์‚ฐ ์ฆ๋ช…

\begin{align} E\big[s(\theta;x) \big] &= \int\bigg[\frac{\partial}{\partial\theta}logf(x;\theta)\bigg]f(x;\theta)dx \\ &= \int\frac{f'(x;\theta)}{f(x;\theta)}f(x;\theta)dx \\ &= \int f'(x;\theta)dx \\ &= \frac{\partial}{\partial\theta}\int f(x;\theta)dx \\ &= \frac{\partial}{\partial\theta}1 = 0 \end{align}

์˜๋ฏธ

score function์€ log likelihood์˜ ๊ธฐ์šธ๊ธฐ๋ฅผ ๋‚˜ํƒ€๋‚ธ๋‹ค๋Š” ๋ฐ์—์„œ ์˜๋ฏธ๊ฐ€ ์žˆ๋‹ค.
score function์˜ ํ‰๊ท ์ด 0์ด๋ผ๋Š” ๊ฒƒ์˜ ์˜๋ฏธ๋ฅผ ๊ทธ๋ž˜ํ”„๋ฅผ likelihood ๊ทธ๋ž˜ํ”„๋ฅผ ์ƒ์ƒํ•˜์—ฌ ์ƒ๊ฐํ•ด๋ณด์ž.