\documentclass[a4paper,12pt,pdftex]{exam}

\newcommand{\ptitle}{Number coding}
\input{../header.tex}
\firstpagefooter{Supervisor: Jan Grewe}{phone: 29 74588}%
{email: jan.grewe@uni-tuebingen.de}

\begin{document}

\input{../instructions.tex}


%%%%%%%%%%%%%% Questions %%%%%%%%%%%%%%%%%%%%%%%%%

\begin{questions}
  \question The accompanying data {\tt Neuron22.mat} stores a single
  data matrix {\tt data\_unsorted} containing spikes from a neuron in
  macaque prefrontal cortex (data courtesy of Prof. Nieder). The task
  of the monkey was to discriminate point-sets with 1 to 4 points. The
  first column contains the number of points shown plus one. The
  remaining columns contain the spike response across 1300\,ms. During
  the first 500\,ms the monkey was fixating a target. The next 800\,ms the
  stimulus was shown. This was followed by 1000\,ms delay time before
  the monkey was allowed to respond.
  
  \begin{parts}
    \part Plot the data in an appropriate way. 
    \part Sort the trials according to the stimulus presented and
    compute the firing rate (in Hz) in the time interval
    500-1300\,ms. Plot the firing rate in an appropriate way. 
    \part Use an appropriate test to determine whether the firing rate
    in that interval is significantly different for 1 vs. 4 points
    shown.
  \end{parts}
\end{questions}

\end{document}