My code is as follows:
\usepackage{array}
\usepackage{multirow}
\usepackage{graphicx}
\begin{table}[h]
\centering
\begin{tabular}{>{\centering\arraybackslash}m{1in}|l|l|}
\cline{2-3}
& \textbf{Hypothesis Testing} & \textbf{Comparison between} \\ \hline
\multicolumn{1}{|l|}{\multirow{4}{*}{\textbf{Mean Comparison}}} & One Sample t-test & a sample mean and known reference mean \\ \cline{2-3}
\multicolumn{1}{|l|}{} & Two Sample t-test & means of two groups \\ \cline{2-3}
\multicolumn{1}{|l|}{} & Paired t-test & means of two groups for paired data \\ \cline{2-3}
\multicolumn{1}{|l|}{} & ANOVA (F-test) & means of more than two groups \\ \hline
\multicolumn{1}{|l|}{\textbf{Variance Comparison}} & Variance test & variances of at least two groups \\ \hline
\multicolumn{1}{|l|}{\textbf{Proportion Comparison}} & Chi\textsuperscript{2} test & proportions of at least two groups \\ \hline
\end{tabular}
\end{table}
output is as follows:
But the desired output should be:
I have tried the solutions here:
Wrap text and here wrap \multicolum
But nothing works so far. Could someone help me out please.
\multirow{4}{1in}{...
– user11232 Apr 2 '15 at 15:38