<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass[12pt]{book}

\input{../../header}

\renewcommand{\exercisesolutions}{here}  % 0: here, 1: chapter, 2: end

\lstset{inputpath=../code}
\graphicspath{{figures/}}

\typein[\pagenumber]{Number of first page}
\typein[\chapternumber]{Chapter number}
\setcounter{page}{\pagenumber}
\setcounter{chapter}{\chapternumber}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document} 

\include{likelihood}

\section{TODO}
\begin{itemize}
\item Fitting psychometric functions, logistic regression:
  Variable $x_i$, responses $r_i$ either 0 or 1.
  $p(x_i, \theta)$ is Weibull or Boltzmann or logistic function.
  Likelihood is $L = \prod p(x_i, \theta)^{r_i} (1-p(x_i, \theta))^{1-r_i}$.
  Use fminsearch for fitting?
\end{itemize}

\end{document}
</pre></body></html>