This website should do the trick.
I suppose it's good that we all need TeX rather
than R help now...
in any case, I'm running two models on unmatched and matched data,
and I want to show clearly which models correspond to which data by
merging the columns and applying "Unmatched" and "Matched" labels
in the merged columns.
In case that didn't make sense, here's what I want to do, with 5
columns total:
| one || unmatched || matched |
| one || mod1 | mod2 || mod1 | mod2 |
And here's my text thus far:
\begin{table}[h!]
\centering
\caption{Hazard Ratio Estimates}
\smallskip
\begin{threeparttable}
\begin{tabular}{c||c|c||c|c}
\hline \hline
\multicolumn{5}{|c||cc||cc}{& Unmatched Data & Matched Data} \\
& Cox & BTSCS & Cox & BTSCS \\
\hline
Fight in War $0\rightarrow1$ & 0.619 & 0.571 & 1.094 & 1.343 \\
Std. Err. & 0.062 & 0.049 & 0.197 & 0.187 \\
95 \% C.I. & (0.508, 0.746) & (0.481, 0.674) & (0.760, 1.525) &
(1.004, 1.737) \\
\hline
Initiate War $0\rightarrow1$ & 0.594 & 0.538 & 0.756 & 0.794 \\
Std. Err. & 0.096 & 0.072 & 0.189 & 0.174 \\
95 \% C.I. & (0.429, 0.798) & (0.411, 0.691) & (0.446, 1.190) &
(0.504, 1.174) \\
\hline
Defend in War $0\rightarrow1$ & 0.612 & 0.620 & 0.813 & 1.250 \\
Std. Err. & 0.086 & 0.071 & 0.165 & 0.200 \\
95 \% C.I. & (0.468, 0.795) & (0.488, 0.772) & (0.540, 1.181) &
(0.892, 1.673) \\
\hline\hline
\end{tabular}
\begin{tablenotes}
\item[a] Begin notes here
\end{tablenotes}
\end{threeparttable}
\end{table}
_______________________________________________
gov2001-l mailing list
gov2001-l at
lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l