[texhax] Table problem
Peter Flom
flom at ndri.org
Fri Jul 15 18:12:08 CEST 2005
When I typeset
\begin{table}[h]
\begin{center}
\begin{tabular}{|lrrrrrr|}\hline
Parameter & DF & Estimate &
\multicolumn{1}{r}{\parbox{.6in}{Standard \\error}} &
\multicolumn{1}{r}{\parbox{.5in}{Wald \\ Chi-square}} &
p-value \\ \hline
Intercept 2: Hard & 1 & -0.3685 & 0.9375 & 0.1545 & 0.6943
\\
Intercept 1: MJ & 1 & 1.1565 & 0.9395 & 1.5155 & 0.2183
\\
Factor 1 & 1 & -1.3145 & 0.1284 & 104.85 & $<$ 0.0001
\\
Age & 1 & 0.0892 & 0.0437 & 4.1685 & 0.0412
\\
Female & 1 & -1.3931 & 0.1876 & 55.1246& $<$ 0.0001
\\\hline
\end{tabular}
\end{center}
\end{table}
for some reason 1) There's no line on the right edge of the table,
despite the fact that I have a | after the last r in the tabular
command
2) The text in the parboxes is left aligned, despite the fact that I
have an r in the multicolumn command
Any help appreciated
Peter
Peter L. Flom, PhD
Assistant Director, Statistics and Data Analysis Core
Center for Drug Use and HIV Research
National Development and Research Institutes
71 W. 23rd St
www.peterflom.com
New York, NY 10010
(212) 845-4485 (voice)
(917) 438-0894 (fax)
More information about the texhax
mailing list