This repository has been archived on 2021-05-17. You can view files and clone it, but cannot push or open issues or pull requests.
scientificComputing/regression/lecture/regression-chapter.tex

52 lines
1.8 KiB
TeX

\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{regression}
\subsection{Notes}
\begin{itemize}
\item Fig 8.2 right: this should be a chi-squared distribution with one degree of freedom!
\item Gradient ascent is used by bacteria and worms (and others) to
approach food sources along chemical and temperature gradients (using biased random walks).
\end{itemize}
\subsection{New chapter: non-linear fits}
\begin{itemize}
\item Move 8.7 to this new chapter.
\item Example that illustrates the Nebenminima Problem (with error
surface). Maybe data generate from $1/x$ and fitted with
$c\exp(\lambda x)$ induces local minima.
\item You need initial values for the parameter!
\item Example that fitting gets harder the more parameter you have.
\item Try to fix as many parameters before doing the fit.
\item Ensure that all parameters in the function are unique, e.g. $a e^{x-c} = be^x$.
\item How to test the quality of a fit? Residuals. $\chi^2$ test. Run-test.
\item Important box: summary of fit howtos.
\end{itemize}
\subsection{New chapter: linear fits --- generalized linear models}
\begin{itemize}
\item Polyfit is easy: unique solution! $c x^3$ is also a linear fit.
\item Example for \emph{overfitting} with polyfit of a high order (=number of data points)
\item Higher order and cross terms
\item Link function, logistic regression
\end{itemize}
\end{document}