diff --git a/bootstrap/lecture/bootstrap-chapter.tex b/bootstrap/lecture/bootstrap-chapter.tex index d59ac2d..845b6b1 100644 --- a/bootstrap/lecture/bootstrap-chapter.tex +++ b/bootstrap/lecture/bootstrap-chapter.tex @@ -17,10 +17,10 @@ \include{bootstrap} \section{TODO} +This chapter easily covers two lectures: \begin{itemize} -\item This chapter easily covers two lectures: \item 1. Bootstrapping with a proper introduction of of confidence intervals -\item 2. Permutation test with a proper introduction of statistical tests (dsitrubution of nullhypothesis significance, power, etc.) +\item 2. Permutation test with a proper introduction of statistical tests (dsitribution of nullhypothesis, significance, power, etc.) \end{itemize} \end{document} diff --git a/regression/lecture/regression-chapter.tex b/regression/lecture/regression-chapter.tex index b235d10..91d73ba 100644 --- a/regression/lecture/regression-chapter.tex +++ b/regression/lecture/regression-chapter.tex @@ -23,15 +23,21 @@ \subsection{Start with one-dimensional problem!} \begin{itemize} -\item Just the root mean square as a function of the slope -\item 1-d gradient +\item Let's fit a cubic function $y=cx^3$ (weight versus length of a tiger) +\item Introduce the problem, $c$ is density and form factor +\item How to generate an artificial data set (refer to simulation chapter) +\item How to plot a function (do not use the data x values!) +\item Just the mean square error as a function of the factor c +\item Also mention the cost function for a straight line +\item 1-d gradient, NO quiver plot (it is a nightmare to get this right) \item 1-d gradient descend -\item Homework is to do the 2d problem! +\item Describe in words the n-d problem. +\item Homework is to do the 2d problem with the straight line! \end{itemize} \subsection{Linear fits} \begin{itemize} -\item Polyfit is easy: unique solution! +\item Polyfit is easy: unique solution! $c x^2$ is also a linear fit. \item Example for overfitting with polyfit of a high order (=number of data points) \end{itemize} diff --git a/scientificcomputing-script.tex b/scientificcomputing-script.tex index 8e20397..007cbe6 100644 --- a/scientificcomputing-script.tex +++ b/scientificcomputing-script.tex @@ -58,7 +58,9 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \part{Data analysis} -% add chapter on simulations (euler forward, odeint) +% add chapter on simulations (draw random numbers, draw random functions, euler forward, odeint) +% this would be a nice and simple starter! +% introduces derivatives which are also needed for fitting \includechapter{statistics}