I need your suggestion how to increase row width in the second row of the table and other rows should not be changed.
Code: Select all
\begin{table}[htbp]
\centering
\caption{Add caption}
\begin{tabular}{rrrrrr}
\addlinespace
\toprule
& & \multicolumn{2}{c}{ Maximum Eigenvalue} & \multicolumn{2}{c}{ Using Maximum Trace} \\
\midrule
Commodity & Lag Length & \multicolumn{1}{c}{H0: Rank=0 Vs H1: Rank =1} & \multicolumn{1}{c}{H0: Rank=1 Vs H1: Rank =2} & \multicolumn{1}{c}{H0: Rank=0 Vs H1: Rank =1} & \multicolumn{1}{c}{H0: Rank=1 Vs H1: Rank =2} \\
Gold & 10 & 8.82 & 0.14 & 8.96 & 0.14 \\
Silver & 7 & 39.2 & 3.57 & 42.76 & 3.57 \\
Aluminum & 5 & 50.91 & 3.2 & 54.11 & 3.2 \\
Copper & 10 & 105.34 & 2.91 & 108.25 & 2.91 \\
Lead & 10 & 30.67 & 3.81 & 34.48 & 3.81 \\
Nickel & 10 & 26.48 & 5.43 & 31.9 & 5.43 \\
Zinc & 9 & 38.54 & 3.66 & 42.19 & 3.66 \\
Crude Oil & 9 & 21.55 & 4 & 25.55 & 4 \\
Natural Gas & 4 & 9.66 & 2.51 & 12.17 & 2.51 \\
\bottomrule
\end{tabular}%
\label{tab:addlabel}%
\end{table}%
H0: Rank=1 H0: Rank=1
Vs Vs
H1: Rank =2 H1: Rank =2
I am confused and searched Google but no convincing answers got so far. Your valuable suggestion is required for the same
Attached excel file shows the table i want to create in latex.
With sincere regards,
Upananda