[PS] examples

This commit is contained in:
RobinB27
2026-07-26 16:53:55 +02:00
parent a331b8987f
commit 181e9c9f7b
9 changed files with 69 additions and 25 deletions
Binary file not shown.
+5 -2
View File
@@ -8,7 +8,10 @@
\date{HS 2026} \date{HS 2026}
\begin{document} \begin{document}
\subtext{Basiert auf dem Skript von V. Tassion, Slides von E.W. Farkas (FS26)} \subtext{
Basiert auf dem Skript von V. Tassion, Slides von E.W. Farkas (FS26)
Die letzten 2 Seiten (Tabellen) auf einer Seite drucken. (10S. limit)
}
\input{parts/00_prereq.tex} \input{parts/00_prereq.tex}
\newpage \newpage
@@ -24,7 +27,7 @@
\input{parts/04_joint-distributions.tex} \input{parts/04_joint-distributions.tex}
\newpage \newpage
\section{Erwartungswert} \section{Charakterisierung}
\input{parts/03_expectation.tex} \input{parts/03_expectation.tex}
\newpage \newpage
+8 -1
View File
@@ -11,4 +11,11 @@ $$
\binom{n}{k} := \frac{n!}{k!\cdot(n-k)!} \binom{n}{k} := \frac{n!}{k!\cdot(n-k)!}
$$ $$
% Integrationsmethoden, Integraltabelle \method \textbf{Partielle Integration}\\
\subtext{$a<b,\quad f,g:[a,b]\rightarrow\R$ stetig diff.-bar}
$$\int f(x)\cdot g'(x)\ dx = f(x)\cdot g(x) - \int f'(x)\cdot g(x)\ dx$$
$$\int_a^bf(x)g'(x)\ dx = f(b)g(b) - f(a)g(a) -\int_a^b f'(x)g(x)$$
\method \textbf{Substitution}\\
\subtext{$a<b,\quad \phi:[a,b]\rightarrow\R$ stetig diff.-bar,\\ $I \subset \R,\quad \phi([a,b]) \subset I,\quad f: I\rightarrow\R$ stetig}
$$\int_{\phi(a)}^{\phi(b)}f(x)\ dx = \int^b_af(\phi(t))\cdot\phi'(t)\ dt$$
+23 -2
View File
@@ -1,6 +1,6 @@
\subsection{Allgemeiner Erwartungswert} \subsection{Erwartungswert}
\definition \textbf{Erwartungswert} (nicht-negativ) \definition \textbf{Allg. Erwartungswert} (nicht-negativ)
$$ $$
\E[X] = \int_{0}^{\infty} \biggl( 1-F_X(x) \biggr)\ dx \E[X] = \int_{0}^{\infty} \biggl( 1-F_X(x) \biggr)\ dx
$$ $$
@@ -101,6 +101,15 @@ $$
\V\Biggl[ \sum_{k=1}^{n}X_k \Biggr] = \sum_{k=1}^{n}\V[X_k] \V\Biggl[ \sum_{k=1}^{n}X_k \Biggr] = \sum_{k=1}^{n}\V[X_k]
$$ $$
{\scriptsize
\textbf{Beispiel}: $\E[X^2]$ allgemein.
\begin{align*}
\E[X^2] &= \E[\phi(X)] \text{ s.d. } \phi(x) = x^2 \\
&\implies \E[X^2] = \int_{-\infty}^{+\infty}\phi(x)f_X(x)\ dx = \boxed{\int_{-\infty}^{+\infty} x^2 \cdot f_X(x)\ dx}
\end{align*}
}
\newpage \newpage
\subsection{Kovarianz} \subsection{Kovarianz}
@@ -139,3 +148,15 @@ $$
\end{bmatrix} \end{bmatrix}
$$ $$
} }
{\scriptsize
\textbf{Beispiel}: $\E\Bigl[\text{max}(X_1,\ldots,X_n)\Bigr]$ s.d. $X_1,\ldots,X_n \overset{\text{i.i.d.}}{\sim} \mathcal{X}$
\begin{align*}
F_{\max(X_1,\ldots,X_n)}(x) &= \P[X_1\leq x,\ldots,X_n\leq x] \\
&= \P[X_1\leq x] \cdots \P[X_n\leq x] \\
&= (\P[X \leq x])^n = F_X(x)^n \\
\implies f_{\max(X_1,\ldots,X_n)}(x) &= \partial_x (F_X(x))^n \\
\implies \E[\max(X_1,\ldots,X_n)] &= \boxed{\int_{-\infty}^{+\infty} x \cdot \partial_x \Bigl(F_X(x)\Bigr)^n}
\end{align*}
}
@@ -14,9 +14,9 @@ $$
\theorem \textbf{Randverteilung}\\ \theorem \textbf{Randverteilung}\\
\smalltext{Die einzelnen Verteilungen $p_X$ lassen sich extrahieren:}\\ \smalltext{Die einzelnen Verteilungen $p_X$ lassen sich extrahieren:}\\
\subtext{$\forall z \in W_i$:} \subtext{$\forall z \in W_i$:}
$$ \begin{align*}
\P[X_i = z] = \underset{x_1,\ldots,x_{i-1},z,x_{i+1},\ldots,x_n}{\sum} p\Bigl( x_1,\ldots,x_{i-1},z,x_{i+1},\ldots,x_n \Bigr) \P[X_i = z] = \underset{x_1,\ldots,z,\ldots,x_n}{\sum} p\Bigl( x_1,\ldots,x_{i-1},z,x_{i+1},\ldots,x_n \Bigr)
$$ \end{align*}
\subtext{$X_1,\ldots,X_n$ diskret,$\quad$ gem. Vert. $p = \Bigl( p(x_1,\dots,x_n) \Bigr)_{x_1 \in W_1,\ldots,x_n \in W_n}$} \subtext{$X_1,\ldots,X_n$ diskret,$\quad$ gem. Vert. $p = \Bigl( p(x_1,\dots,x_n) \Bigr)_{x_1 \in W_1,\ldots,x_n \in W_n}$}
{\footnotesize {\footnotesize
@@ -26,11 +26,20 @@ $$
\definition \textbf{Gemeinsame Stetige Verteilung}\\ \definition \textbf{Gemeinsame Stetige Verteilung}\\
\smalltext{$X_1,\ldots,X_n: \Omega\to\R,\quad f:\R^n\to\R_+,\quad a_1,\ldots a_n \in \R$} \smalltext{$X_1,\ldots,X_n: \Omega\to\R,\quad f:\R^n\to\R_+,\quad a_1,\ldots a_n \in \R$}
$$ \begin{align*}
\P\Bigl[ X_1\leq a_1,\ldots,X_n\leq a_n \Bigr] = \int_{-\infty}^{a_1}\cdots\int_{-\infty}^{a_n} f(x_1,\ldots,x_n)\ dx_n\ldots dx_1 &\P\Bigl[ X_1\leq a_1,\ldots,X_n\leq a_n \Bigr] \\
$$ &= \int_{-\infty}^{a_1}\cdots\int_{-\infty}^{a_n} f(x_1,\ldots,x_n)\ dx_n\ldots dx_1
\end{align*}
\subtext{$f$ heisst \textit{gemeinsame Dichte} von $(X_1,\ldots,X_n)$} \subtext{$f$ heisst \textit{gemeinsame Dichte} von $(X_1,\ldots,X_n)$}
{\footnotesize
\remark Seien $X_1,\ldots,X_n \overset{\text{i.i.d.}}{\sim} \mathcal{X}$:
\begin{align*}
&\P\Bigl[ X_1 \leq x,\ldots, X_n \leq x \Bigr] = \prod_{i=1}^n \P[X_i \leq n] = \Bigl( \P[X \leq n] \Bigr)^n
\end{align*}
}
\newpage \newpage
\theorem $\displaystyle\int_{-\infty}^\infty\cdots\int_{-\infty}^\infty f(x_1,\ldots,x_n)\ dx_n\ dx_1 = 1$\\ \theorem $\displaystyle\int_{-\infty}^\infty\cdots\int_{-\infty}^\infty f(x_1,\ldots,x_n)\ dx_n\ dx_1 = 1$\\
@@ -59,10 +68,11 @@ $$
% Bedingte Dichten fehlen noch, siehe HW5, F3 % Bedingte Dichten fehlen noch, siehe HW5, F3
\theorem \textbf{Erwartungswert}\\ \theorem \textbf{Erwartungswert}
$$ \begin{align*}
\E\Bigl[ \phi(X_1,\ldots,X_n) \Bigr] = \int_{-\infty}^\infty\cdots\int_{-\infty}^\infty\phi(x_1,\ldots,x_n)\cdot f(x_1\cdots x_n)\ dx_n\ldots dx_1 &\E\Bigl[ \phi(X_1,\ldots,X_n) \Bigr] \\
$$ &= \int_{-\infty}^\infty\cdots\int_{-\infty}^\infty\phi(x_1,\ldots,x_n)\cdot f(x_1\cdots x_n)\ dx_n\ldots dx_1
\end{align*}
% Randverteilungen % Randverteilungen
+5 -1
View File
@@ -54,4 +54,8 @@ $$
$$ $$
\subtext{Im Skript auch $Z_n$} \subtext{Im Skript auch $Z_n$}
% Slides: Chernoff bounds & mehr ZGS (nicht im Skript) % Slides: Chernoff bounds & mehr ZGS (nicht im Skript)
\newpage
div % s.d. Statistik auf einer Seite bleibt
+1 -7
View File
@@ -396,10 +396,4 @@ $$
\begin{align*} \begin{align*}
& I = [A,B] \text{ s.d. } \P\Bigl[ \vartheta \in [A,B] \Bigr] = \P[A\leq\vartheta\leq B] \geq 1-\alpha \\ & I = [A,B] \text{ s.d. } \P\Bigl[ \vartheta \in [A,B] \Bigr] = \P[A\leq\vartheta\leq B] \geq 1-\alpha \\
& A = a(X_1,\ldots,X_n) \qquad B = b(X_1,\ldots,X_n) & A = a(X_1,\ldots,X_n) \qquad B = b(X_1,\ldots,X_n)
\end{align*} \end{align*}
\newpage
div
\newpage
Binary file not shown.
+7 -2
View File
@@ -23,7 +23,7 @@ $$
We set $\phi_i(x;\theta_i) = \psi(\theta_i^\top x)$, $\psi$ is the activation function.\\ We set $\phi_i(x;\theta_i) = \psi(\theta_i^\top x)$, $\psi$ is the activation function.\\
\subtext{$\theta_i \in \R^d,\quad\psi:\R\to\R$} \subtext{$\theta_i \in \R^d,\quad\psi:\R\to\R$}
{\scriptsize {\footnotesize
\notation More concisely, $\phi(x;\Theta) = \psi(\Theta x)$ \notation More concisely, $\phi(x;\Theta) = \psi(\Theta x)$
} }
@@ -38,6 +38,12 @@ We set $\phi_i(x;\theta_i) = \psi(\theta_i^\top x)$, $\psi$ is the activation fu
\end{tabular} \end{tabular}
\end{center} \end{center}
{\footnotesize
\remark \textbf{Derivative of Sigmoid} $\quad \sigma(x)' = \sigma(x)\cdot (1-\sigma(x))$
}
\newpage
\definition \textbf{Artificial Neural Network}\\ \definition \textbf{Artificial Neural Network}\\
\subtext{The output functions of the above problem take the form:} \subtext{The output functions of the above problem take the form:}
$$ $$
@@ -47,7 +53,6 @@ $$
\remark Also called Multi-Layer Perceptron (MLP) \remark Also called Multi-Layer Perceptron (MLP)
} }
\newpage
\textbf{What is happening here?}\\ \textbf{What is happening here?}\\
\smalltext{Explaining the calculation steps for such an $f$ naturally leads to the common pictorial depiction of neural networks.} \smalltext{Explaining the calculation steps for such an $f$ naturally leads to the common pictorial depiction of neural networks.}
\begin{align*} \begin{align*}