new power analysis project

This commit is contained in:
Jan Grewe 2019-01-14 11:49:53 +01:00
parent da1eb332a0
commit 35943a8f3a
3 changed files with 53 additions and 6 deletions

View File

@ -23,8 +23,8 @@
\begin{tabular}{|p{0.16\textwidth}|p{0.1\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|l|l|}
\hline
Name & Project & \multicolumn{5}{l|}{Project} & \multicolumn{3}{l|}{Figures} & \multicolumn{8}{l|}{Code} & Sum & Grade \rule{0.pt}{3ex} \\
& & \rot{Understanding} & \rot{Presentation}\rot{Structure, didactics} & \rot{Completed} & \rot{Bonus:}\rot{Context} & \rot{Bonus:}\rot{Own ideas} & \rot{Readability}\rot{font size, etc.} & \rot{Labels, units}\rot{and statistical measures} & \rot{Design} & \rot{Runs} & \rot{Names of}\rot{vars and funcs} & \rot{Style: white space}\rot{Spaghetti, structure} & \rot{Functions: used,}\rot{purpose, standalone} & \rot{Docu script} & \rot{Docu functions} & \rot{Figures saved} & \rot{Bonus:}\rot{Interesting code} & & \\
& & 0--6 & 0--2 & 0--2 & 0, 1 & 0--2 & 0--2 & 0--2 & 0--2 & 0--2 & 0--2 & 0--2 & 0--3 & 0--2 & 0--2 & 0, 2 & 0--2 & 28 & \\ \hline
& & \rot{Understanding} & \rot{Presentation}\rot{Structure, didactics} & \rot{Completed} & \rot{Bonus:}\rot{Context} & \rot{Bonus:}\rot{Own ideas} & \rot{Readability}\rot{font size, etc.} & \rot{Labels, units, and}\rot{statistical measures} & \rot{Design} & \rot{Runs} & \rot{Names of}\rot{vars and funcs} & \rot{Style: white space}\rot{Spaghetti, structure} & \rot{Functions: used,}\rot{purpose, standalone} & \rot{Docu script} & \rot{Docu functions} & \rot{Figures saved} & \rot{Bonus:}\rot{Interesting code} & & \\
& & 0--6 & 0--2 & 0--2 & 0, 1 & 0--2 & 0--2 & 0--2 & 0--2 & 0--2 & 0--2 & 0--2 & 0--3 & 0--2 & 0--2 & 0, 2 & 0--2 & 31 & \\ \hline
\num & & & & & & & & & & & & & & & & & & & \\ \hline
\num & & & & & & & & & & & & & & & & & & & \\ \hline
\num & & & & & & & & & & & & & & & & & & & \\ \hline
@ -36,12 +36,11 @@ Name & Project & \multicolumn{5}{l|}{Project} & \multicolumn{3}{l|}{Figures} & \
\end{tabular}
\noindent
\begin{tabular}{|p{0.16\textwidth}|p{0.1\textwidth}|p{0.023\textwidth}|p{0.023\textwidth}|p{0.023\textwidth}|p{0.023\textwidth}|p{0.023\textwidth}|p{0.023\textwidth}|p{0.023\textwidth}|p{0.023\textwidth}|p{0.023\textwidth}|p{0.023\textwidth}|p{0.023\textwidth}|p{0.023\textwidth}|p{0.023\textwidth}|p{0.023\textwidth}|p{0.023\textwidth}|p{0.023\textwidth}|l|l|}
\begin{tabular}{|p{0.16\textwidth}|p{0.1\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|p{0.024\textwidth}|l|l|}
\hline
Name & Project & \multicolumn{5}{l|}{Project} & \multicolumn{3}{l|}{Figures} & \multicolumn{8}{l|}{Code} & Sum & Grade \rule{0.pt}{3ex} \\
& & \rot{Understanding} & \rot{Presentation}\rot{Structure, didactics} & \rot{Completed} & \rot{Bonus:}\rot{Context} & \rot{Bonus:}\rot{Own ideas} & \rot{Readability}\rot{font size, etc.} & \rot{Labels}\rot{and units} & \rot{Design} & \rot{Runs} & \rot{Names of}\rot{vars and funcs} & \rot{Style: white space}\rot{Spaghetti, structure} & \rot{Functions: used,}\rot{purpose, standalone} & \rot{Docu script} & \rot{Docu functions} & \rot{Figures saved} & \rot{Bonus:}\rot{Interesting code} & & \\
& & 0--3 & 0--2 & 0--2 & 0, 1 & 0--2 & 0--2 & 0--2 & 0--2 & 0--2 & 0--2 & 0--2 & 0--3 & 0--2 & 0--2 & 0, 2 & 0--2 & 28 & \\ \hline
\num & & & & & & & & & & & & & & & & & & & \\ \hline
& & \rot{Understanding} & \rot{Presentation}\rot{Structure, didactics} & \rot{Completed} & \rot{Bonus:}\rot{Context} & \rot{Bonus:}\rot{Own ideas} & \rot{Readability}\rot{font size, etc.} & \rot{Labels, units, and}\rot{statistical measures} & \rot{Design} & \rot{Runs} & \rot{Names of}\rot{vars and funcs} & \rot{Style: white space}\rot{Spaghetti, structure} & \rot{Functions: used,}\rot{purpose, standalone} & \rot{Docu script} & \rot{Docu functions} & \rot{Figures saved} & \rot{Bonus:}\rot{Interesting code} & & \\
& & 0--6 & 0--2 & 0--2 & 0, 1 & 0--2 & 0--2 & 0--2 & 0--2 & 0--2 & 0--2 & 0--2 & 0--3 & 0--2 & 0--2 & 0, 2 & 0--2 & 31 & \\ \hline
\num & & & & & & & & & & & & & & & & & & & \\ \hline
\num & & & & & & & & & & & & & & & & & & & \\ \hline
\num & & & & & & & & & & & & & & & & & & & \\ \hline

View File

@ -0,0 +1,3 @@
ZIPFILES=
include ../project.mk

View File

@ -0,0 +1,45 @@
\documentclass[a4paper,12pt,pdftex]{exam}
\newcommand{\ptitle}{EOD waveform}
\input{../header.tex}
\firstpagefooter{Supervisor: Peter Pilz}{phone: 29 74835}%
{email: peter.pilz@uni-tuebingen.de}
\begin{document}
\input{../instructions.tex}
In a scientific study 3 different substances are tested on 3 groups of
subjects, a forth group is not treated and serves as a control
group.
Simulate test results for the different groups using normally
distributed random numbers. The standard deviation is the same in all
groups. The effect size $d=\frac{\mu_1 - \mu_2}{\sigma}$ relative to
the control group is $0.0, 0.5,$ and $1.0$ for the three experimental
groups.
\begin{questions}
\question{} How large is the \emph{power} of the study if each group
consists of 10 subjects?
\begin{parts}
\part{} Execute a large number of experiments (10.000) and estimate how often statistically significant results are yielded. Give both \emph{type I} and \emph{type II} errors.
\end{parts}
\question{} What is the effect of different goup sizes?
\begin{parts}
\part{} Consider the following group sizes ($control:group1:group2:group3$):
\begin{itemize}
\item $4:12:12:12$
\item $7:11:11:11$
\item $13:9:9:9$
\item $16:8:8:8$
\item $19:7:7:7$
\item $22:6:6:6$
\item $25:5:5:5$
\item $28:4:4:4$
\end{itemize}
\part{} Plot the \emph{power} as a function of the size of the control group for $d={0.5, 1.0}$. Give the groups size relative to the size of the experimental groups.
\part{} How large are the false positive results for $d=0.0$.
\end{parts}
\question{} Can you recommend a group size for the control group?
\end{questions}
\end{document}