Debian Codegraph @

texmf-dist/doc/latex/exam-n/sample/numerical3.tex

raw
1 \documentclass[compose]{exam-n}
2 \begin{document}
3
4 \begin{question}{30} \comment{by Graham Woan}
5 Distinguish between frequentist and Bayesian definitions of
6 probability, and explain carefully how parameter estimation is
7 performed in each regime.\partmarks{10}
8
9 \label{q:numerical3}
10 Note that this is question \ref{q:numerical3} on
11 p.\pageref{q:numerical3}. It's the one after question~\ref{q:numerical2}.
12
13 A square ccd with $M\times M$ pixels takes a dark frame for
14 calibration purposes, registering a small number of electrons in
15 each pixel from thermal noise. The probability of there being $n_i$
16 electrons in the $i$th pixel follows a Poisson distribution, i.e.
17 \begin{equation*}
18 P(n_i|\lambda) = \exp(-\lambda)\lambda^{n_i}/n_i!,
19 \end{equation*}
20 where $\lambda$ is the same constant for all pixels. Show that the
21 expectation value of is $\langle n_i \rangle = \lambda$.
22 \partmarks{5} [You may assume the relation $\sum_0^\infty \frac{x^n}{n!}=\exp(x)$.]
23
24 Show similarly that
25 \begin{equation*}
26 \langle n_i(n_i-1) \rangle = \lambda^2.
27 \end{equation*}
28 and hence, or otherwise, that the variance of $n_i$ is also
29 $\lambda$.
30 \partmarks{5}
31
32 The pixels values are summed in columns. Show that these sums,
33 $S_j$, will be drawn from a parent probability distribution that is
34 approximately
35 \begin{equation*} p(S_j|\lambda)=\frac{1}{\sqrt{2\pi
36 M\lambda}}\exp\left[-\frac{(S_j-M\lambda)^2}{2M\lambda}\right],
37 \end{equation*}
38 clearly stating any theorems you use.
39 \partmarks{5}
40
41 Given the set of $M$ values $\{S_j\}$, and interpreting the above
42 as a Bayesian likelihood, express the posterior probability for
43 $\lambda$, justifying any assumptions you make.
44 \partmarks{5}
45 \end{question}
46 \end{document}