[likelihood] fixed exercises
This commit is contained in:
parent
657192ab58
commit
512255dfec
@ -130,8 +130,8 @@ standard deviation $\sigma_i$:
|
|||||||
\part \label{mleslopefunc} Write a function that takes two vectors
|
\part \label{mleslopefunc} Write a function that takes two vectors
|
||||||
$x$ and $y$ containing the data pairs and returns the slope,
|
$x$ and $y$ containing the data pairs and returns the slope,
|
||||||
computed according to this equation. For simplicity we assume
|
computed according to this equation. For simplicity we assume
|
||||||
$\sigma_i=\sigma_j=\sigma$ for all $1 \le i \le n$ and $1 \le j \le
|
$\sigma_i=\sigma$ for all $1 \le i \le n$. How does this simplify
|
||||||
n$. How does this simplify the equation for the slope?
|
the equation for the slope?
|
||||||
\begin{solution}
|
\begin{solution}
|
||||||
\lstinputlisting{mleslope.m}
|
\lstinputlisting{mleslope.m}
|
||||||
\end{solution}
|
\end{solution}
|
||||||
|
Reference in New Issue
Block a user