\documentclass[addpoints,10pt]{exam} \usepackage{url} \usepackage{color} \usepackage{hyperref} \pagestyle{headandfoot} \runningheadrule \firstpageheadrule \firstpageheader{Scientific Computing}{afternoon assignment day 02}{10/21/2014} %\runningheader{Homework 01}{Page \thepage\ of \numpages}{23. October 2014} \firstpagefooter{}{}{} \runningfooter{}{}{} \pointsinmargin \bracketedpoints %\printanswers \shadedsolutions \begin{document} %%%%%%%%%%%%%%%%%%%%% Submission instructions %%%%%%%%%%%%%%%%%%%%%%%%% \sffamily %%%%%%%%%%%%%% Questions %%%%%%%%%%%%%%%%%%%%%%%%% \begin{questions} \question Download example002 from yesterday (brain weights). \begin{parts} \part Simulate a null distribution via permutation. \part Determine whether you can reject ``means are equal'' on a 5\% significance level using the simulated null distribution. \part Check whether the means are different with a two sample t-test in matlab ({\tt ttest2}). \part Plot the data appropriately and generate a single slide that contains the plot and short discussion of the test that respects the nature statistical checklist (ignore all question whether the assumptions of the test are satisfied). \part Upload the slide and the code to Ilias. Deadline is 19h00. \end{parts} \end{questions} \end{document}