Skip to content

Commit

Permalink
Merge pull request #278 from timothy1191xa/final
Browse files Browse the repository at this point in the history
updated final report
  • Loading branch information
timothy1191xa committed Dec 15, 2015
2 parents ffb65c7 + 2784022 commit 98e371d
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 23 deletions.
Binary file added paper/final_report.pdf
Binary file not shown.
4 changes: 4 additions & 0 deletions paper/final_report.tex
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
\usepackage{float}
\usepackage[utf8]{inputenc}
\usepackage{hyperref}
\usepackage{subcaption}
\usepackage{amsmath}

\bibliographystyle{siam}

Expand All @@ -31,6 +33,8 @@
\begin{document}
\maketitle

\input{final_sections/0_abstract.tex}

\input{final_sections/1_introduction.tex}

\input{final_sections/2_data.tex}
Expand Down
3 changes: 3 additions & 0 deletions paper/final_sections/0_abstract.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
\section{Abstract}
\noindent
Please update this paragraph
52 changes: 32 additions & 20 deletions paper/final_sections/4_image.tex
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,39 @@ \subsection{Methods}

\subsubsection {Hypothesis Testing}
From linear regression, we can get t-statistics for different conditions(task on/off, gain, loss, distance).For each condition, we will have a 3D t-statistics matrix. For visualization, we first added mask based the mean voxel and the histogram. We set a boolean mask which takes larger than 375. Also we used smooth function and better color txt to generate a better image. Then we plotted the t statistics map for gain/loss.
\begin{figure}[H]
\centering \includegraphics[scale=0.5]{../fig/t_test/ds005_sub001_t1r1_t-test_cond2.png}
\caption{T Statistics for Gain Subject 1 Run 1}
\end{figure}
\begin{figure}[H]
\centering
\includegraphics[scale=0.5]{../fig/t_test/ds005_sub001_t1r1_t-test_cond3.png}
\caption{T Statistics for Loss Subject 1 Run 1}
\begin{figure}[H]
\begin{subfigure}{.5\textwidth}
\centering
\includegraphics[width=.8\linewidth]{../fig/t_test/ds005_sub001_t1r1_t-test_cond2.png}
\caption{Gain}
\label{fig:sfig1}
\end{subfigure}%
\begin{subfigure}{.5\textwidth}
\centering
\includegraphics[width=.8\linewidth]{../fig/t_test/ds005_sub001_t1r1_t-test_cond3.png}
\caption{Loss}
\label{fig:sfig2}
\end{subfigure}
\caption{t statistics map for gain/loss (subject1)}
\label{fig:fig}
\end{figure}

\begin{figure}[H]
\begin{subfigure}{.5\textwidth}
\centering
\includegraphics[width=.8\linewidth]{../fig/t_test/ds005_sub005_t1r1_t-test_cond2.png}
\caption{Gain}
\label{fig:sfig1}
\end{subfigure}%
\begin{subfigure}{.5\textwidth}
\centering
\includegraphics[width=.8\linewidth]{../fig/t_test/ds005_sub005_t1r1_t-test_cond3.png}
\caption{Loss}
\label{fig:sfig2}
\end{subfigure}
\caption{t statistics map for gain/loss (subject5)}
\label{fig:fig}
\end{figure}
\begin{figure}[H]
\centering
\includegraphics[scale=0.5]{../fig/t_test/ds005_sub005_t1r1_t-test_cond2.png}
\caption{T Statistics for Gain Subject 5 Run 1}
\end{figure}
\begin{figure}[H]
\centering
\includegraphics[scale=0.5]{../fig/t_test/ds005_sub005_t1r1_t-test_cond3.png}
\caption{T Statistics for Loss Subject 5 Run 1}
\end{figure}
\noindent
The larger the t-statistics, the more significant. Thus the red spots represents the activated voxels for gain and loss. For subject 1, gain has more activated voxels. However, for subject 5, loss has more activated voxels.

Expand All @@ -57,5 +71,3 @@ \subsection{Methods}





19 changes: 16 additions & 3 deletions paper/final_sections/5_multi.tex
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
\section{Multi-Comparison}

\subsection{Introduction}
\noindent
After exploring behavior data, we proceed to image data analysis. First we need to apply convolution to connect behavior stimuli and neural activity. Then we can run general linear regression to find activated voxels across time course. Using hypothesis testing, we can actually locate and visualize the activated voxels. After finishing basic steps, we try to apply noise modeling and PCA to compare the MRSS so that we can finally decide our design matrix.
As our intended goal of this project is to locate the ROI \(Region of Interest\) in a brain according to this mixed gamble task, the significant issue is the specification of an appropriate threshold for statistical maps. Therefore, we are interested in multi-comparison across subjects. In the previous analysis on single subject, we were able to locate the generally activated voxels. With these data, we attempted to find out the general pattern in each voxel of brains across 16 subjects.

\subsection{Methods}
Here are some of the methods (this needs to be updated soon as well.)
As our intended goal of this project is to locate the ROI \(Region of Interest\) in a brain according to this mixed gamble task, the significant issue is the specification of an appropriate threshold for statistical maps. Therefore, we are interested in multi-comparison across subjects. In the previous analysis on single subject, we were able to locate the generally activated voxels. With these data, we attempted to find out the general pattern in voxels of brains across 16 subjects.

To multi-compare, we chose to explore on filtered data set (shape: 91*109 * 91) since original data set is not normalized in terms of voxel location. Applying our general linear modeling on each subject as above, we first collected all beta values for each voxel across time course of each subject. Now, we have beta values of shape of (91, 109, 91) for each of 16 subjects. We compare on each single voxel across subjects. To do this, We have total 4 steps.

\begin{itemize}
\item Calculate average of beta value on a single voxel across 16 subjects. Do this for whole voxels.\\
\item Calculate standard deviation of beta value on a single voxel across 16 subjects. Do this for whole voxels. \\
\item Calculate T-statistics of beta value on a single voxel across 16 subjects. Do this for whole voxels.\\
\[
t-statistics = \dfrac{mean}{\dfrac{SE(mean)}{\sqrt{n}}}
\]

\item Calculate P-value of beta value on a single voxel across 16 subjects. Do this for whole voxels. \\
\end{itemize}

\subsection {Results}
this needs to be updated
Expand Down

0 comments on commit 98e371d

Please sign in to comment.