2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00

Added example for gini coefficient

This commit is contained in:
Martin Thoma 2014-01-26 12:58:08 +01:00
parent 94d57e522b
commit 364364bcf6
10 changed files with 4250 additions and 4 deletions

2
.gitignore vendored
View file

@ -29,7 +29,7 @@
*.thm *.thm
*.xdy *.xdy
*.dvi *.dvi
*.pyg
*.pdf *.pdf
## I want to keep some PDFs ## I want to keep some PDFs

View file

@ -1,9 +1,8 @@
\subsection{Vokabular} \subsection{Vokabular}
\begin{frame}{Vokabular} \begin{frame}{Vokabular}
\begin{itemize} \begin{itemize}
\item<1-> Viele Texte $\Rightarrow$ Komplette Textanalyse nicht möglich \item<1-> Füllwörter: und, oder, im, in, \dots
\item<2-> Füllwörter: und, oder, im, in, \dots \item[$\Rightarrow$]<2-> Beschränkung des Vokabulars sinnvoll
\item[$\Rightarrow$]<3-> Beschränkung des Vokabulars sinnvoll
\end{itemize} \end{itemize}
\uncover<4->{ \uncover<4->{
@ -25,3 +24,18 @@
Gini-Koeffizient Gini-Koeffizient
\end{itemize} \end{itemize}
\end{frame} \end{frame}
\begin{frame}{Gini-Koeffizient}
\begin{center}
\includegraphics[width=\textwidth,height=0.4\textheight,keepaspectratio]{../images/gini-example.pdf}
\end{center}
\uncover<2->{Beispiel: \enquote{in}}
\begin{itemize}
\item<3-> Vorkommen insgesamt: $5 \times$
\item<4-> Vorkommen in \enquote{Informatik} $2\times \Rightarrow p_1 = \frac{2}{5}$
\item<5-> Vorkommen in \enquote{Mathematik} $1\times \Rightarrow p_2 = \frac{1}{5}$
\item<6-> Vorkommen in \enquote{Geschichte} $2\times \Rightarrow p_2 = \frac{2}{5}$
\item<7-> Gini-Koeffizient: $\left (\frac{2}{5} \right )^2 + \left (\frac{1}{5} \right )^2 + \left (\frac{2}{5} \right )^2 = \frac{9}{25}$
\end{itemize}
\end{frame}

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 97 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 252 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 105 KiB