generated from slds-lmu/lecture_template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c1133bd
commit 7fc0c74
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
Binary file not shown.
12 changes: 6 additions & 6 deletions
12
exercises/information-theory/ex_rnw/ex_kl_divergence_misspecification.Rnw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
Consider a double-exponential distributed random variable $X$ with unknown parameters $\mu_0 \in \R$ and $\sigma_0 > 0$. In other words: $X\sim\text{DE}(\mu_0,\sigma_0)$ with the following density function: | ||
Consider a laplace-distributed random variable $X$ with unknown parameters $\mu_0 \in \R$ and $\sigma_0 > 0$. In other words: $X\sim\text{LP}(\mu_0,\sigma_0)$ with the following density function: | ||
|
||
$$ g(x) = \frac{1}{2\sigma_0}\,\exp\left(-\frac{|x-\mu_0|}{\sigma_0}\right) $$ | ||
|
||
Unfortunately, the model is misspecified and $X$ is assumed to be normally distributed with a set of parameters $\theta = ( \mu, \sigma^2)$, meaning that $X \sim \normal (\mu,\sigma^2) $ | ||
|
||
$$ f_\theta(x) = \frac{1}{\sigma \sqrt{2\pi}} \exp \left(-\frac{1}{2} \left( \frac{x-\mu}{\sigma} \right)^2 \right) $$ | ||
|
||
\begin{enumerate} | ||
\item | ||
Calculate the set of parameters $\theta$ that minimizes the Kullback-Leibler Divergence $D_{KL}(g \| f_\theta)$ | ||
%\begin{enumerate} | ||
% \item | ||
Calculate the set of parameters $\theta$ that minimizes the Kullback-Leibler Divergence $D_{KL}(g \| f_\theta)$. | ||
|
||
|
||
\emph{Hint}: Use the fact that for $X \sim \text{DE}(\mu_0,\sigma_0)$, the following properties apply: $\E(X )=\mu_0$ and $\var(X)=2 \sigma_0^2$. | ||
\emph{Hint}: Use the fact that for $X \sim \text{LP}(\mu_0,\sigma_0)$, the following properties apply: $\E(X )=\mu_0$ and $\var(X)=2 \sigma_0^2$. | ||
|
||
\end{enumerate} | ||
%\end{enumerate} | ||
|