PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Frage zu Tabellenformatierung



mohack
30-11-2008, 13:40
Hallo!
Ich habe zwei Tabellen erstellt und dabei folgendes Problem:
Zum einen hätte ich gerne zwischen den Überschriften und den horizontalen Linien, sowie zwischen diesen Linien und der ersten Datenzeile der Tabelle etwas Platz, da die großen Klammern, die Indizes und die Exponeten die Linien berühren. Wenn ich das mit "\\" oder "vspace{xy}" mache, werden die vertikalen Linien der Tabelle unterbrochen, sieht also mies aus. Wie macht man das am besten?
Zum anderen sind die vertikalen Linien zwischen den zwei "\hline"s unterbrochen, was auch nicht sein soll. Ich weiß, dass es anders geht, aber nicht wie...
Hier das Minimalbeispiel:



\documentclass[a4paper,11pt,DIV=14,BCOR=10mm]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{ngerman}
\usepackage{a4wide}
\usepackage{graphicx}
\usepackage{amsfonts}
\usepackage{units}
\usepackage{upgreek}
\usepackage{float}
\usepackage{fancyhdr}
\usepackage{easybib}
\usepackage[intlimits]{amsmath}
\usepackage{mathpazo}
\usepackage[scaled=.95]{helvet} % skalierte Helvetica als \sfdefault
\usepackage{courier}

\begin{document}


\begin{table}[htbp]
\centering
\begin{tabular}{r|c|c|r|rcl|rcl|rcl}

$n_U$ & $\vartheta\,[^{\circ}]$ & $\Delta\Omega\,[\unit{sr}]$ & $t\,[\unit{s}]$ & \multicolumn{3}{c|}{$N$} & \multicolumn{3}{c}{$\dot{N}\,[\unit{s^{-1}}]$} & \multicolumn{3}{|c}{$\frac{\mathrm{d}\rho}{\mathrm {d}\Omega}\,[\unit{\nicefrac{b}{sr}}]$} \\
\hline
\hline
$7$ & $60,49$ & $1,28\cdot10^{-2}$ & $1.500$ & $332$ & $\pm$ & $18$ & $0,221$ & $\pm$ & $0,012$ & $49$ & $\pm$ & $8$ \\

$15$ & $48,41$ & $8,28\cdot10^{-3}$ & $1.500$ & $523$ & $\pm$ & $23$ & $0,349$ & $\pm$ & $0,015$ & $119$ & $\pm$ & $19$ \\

$31$ & $36,97$ & $3,66\cdot10^{-3}$ & $4.000$ & $1.956$ & $\pm$ & $44$ & $0,489$ & $\pm$ & $0,011$ & $379$ & $\pm$ & $60$ \\

$50$ & $31,07$ & $1,78\cdot10^{-3}$ & $1.000$ & $520$ & $\pm$ & $23$ & $0,520$ & $\pm$ & $0,023$ & $828$ & $\pm$ & $13$ \\

$80$ & $26,82$ & $7,96\cdot10^{-4}$ & $1.000$ & $437$ & $\pm$ & $21$ & $0,437$ & $\pm$ & $0,021$ & $1.556$ & $\pm$ & $133$ \\

$100$ & $25,28$ & $5,32\cdot10^{-4}$ & $500$ & $183$ & $\pm$ & $14$ & $0,366$ & $\pm$ & $0,027$ & $1.950$ & $\pm$ & $322$ \\

\end{tabular}
\caption{Experimenteller Wirkungsquerschnitt}
\end{table}

\begin{table}[htbp]
\centering
\begin{tabular}{c|c|rcl|rcl|rcl}

$n_U$ & $\vartheta\,[^{\circ}]$ & \multicolumn{3}{c|}{$\left(\frac{\mathrm{d}\rho}{\ mathrm{d}\Omega}\right)_e\,[\unit{\nicefrac{b}{sr}}]$} & \multicolumn{3}{c}{$\left(\frac{\mathrm{d}\rho}{\m athrm{d}\Omega}\right)_t\,[\unit{\nicefrac{b}{sr}}]$} & \multicolumn{3}{|c}{$\left(\frac{\mathrm{d}\rho}{\ mathrm{d}\Omega}\right)_e / \left(\frac{\mathrm{d}\rho}{\mathrm{d}\Omega}\righ t)_t$} \\
\hline
\hline
$7$ & $60,49$ & $49$ & $\pm$ & $8$ & $70$ & $\pm$ & $9$ & $0,702$ & $\pm$ & $0,147$ \\

$15$ & $48,41$ & $119$ & $\pm$ & $19$ & $159$ & $\pm$ & $20$ & $0,751$ & $\pm$ & $0,153$ \\

$31$ & $36,97$ & $379$ & $\pm$ & $60$ & $445$ & $\pm$ & $56$ & $0,851$ & $\pm$ & $0,172$ \\

$50$ & $31,07$ & $828$ & $\pm$ & $13$ & $873$ & $\pm$ & $111$ & $0,949$ & $\pm$ & $0,122$ \\

$80$ & $26,82$ & $1.556$ & $\pm$ & $133$ & $1.553$ & $\pm$ & $197$ & $1,002$ & $\pm$ & $0,153$ \\

$100$ & $25,28$ & $1.950$ & $\pm$ & $322$ & $1.959$ & $\pm$ & $249$ & $0,996$ & $\pm$ & $0,207$ \\

\end{tabular}

\caption{Vergleich von experimentellem mit theoretischem Wirkungsquerschnitt}
\end{table}

\end{document}

mechanicus
30-11-2008, 14:50
Hallo,

1.: du hast die Tabellenzeile mit \\ getrennt. Hier kann man ein optioanels argument angeben: \\[Zeilenabstand].

2.: Doppelte Linien (wenn es sein muss) schaue dir mal hhline (http://www.cs.brown.edu/system/software/latex/doc/hhline.pdf) an.

3.: Für solche Tabellen bietet sich das Paket booktabs und dcolumn an. Genauso ist die Spalte mit \pm nicht nötig. Dies kannst du mittels des Spaltentrenners @{$\pm$} einstellen.

4.: Deine Schreibweise von physikalischen Einheiten ist nicht korrekt. Schaue mal hier (http://de.wikipedia.org/wiki/Physikalische_Gr%C3%B6%C3%9Fe#Schreibweise). Ich weiß, dass selbst einige Profs es nicht besser wissen.

Gruß
Marco

René Geppert
30-11-2008, 14:53
\renewcommand{\arraystretch}{1.5}

vergrößert die zeilenabstände
allerdings für alle zeilengleichermaßen

mohack
30-11-2008, 15:23
1.: du hast die Tabellenzeile mit \\ getrennt. Hier kann man ein optioanels argument angeben: \\[Zeilenabstand].


Danke, für die Überschrift-Zeile funktioniert das wunderbar, jetzt hab ich vor der hline ein wenig Platz, wenn ich z.B. [5pt] angebe.
Aber für den Platz zwischen der hline und der ersten Werte-Zeile geht das ja nicht, weil da ja kein \\ steht. Gibt's da was ähnliches, um oberhalb einer Zeile das gleich hinzukriegen?
Gruß

localghost
30-11-2008, 15:26
Auf vertikale Linie sollte zugunsten der Lesbarkeit ohnehin verzichtet werden. Für ordentliche Zeilen könnte daher booktabs (http://ctan.org/pkg/booktabs) hilfreich sein.


MfG
Thorsten¹

mechanicus
30-11-2008, 17:21
Hallo,

um den Kind mal ein Gesicht zu geben:


\documentclass[a4paper,11pt,DIV=14,BCOR=10mm,ngerman]{scrartcl}
\usepackage{babel}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{siunitx}
\usepackage{upgreek}
\usepackage{float}
\usepackage{easybib}
\usepackage[intlimits]{amsmath}
\usepackage{array,booktabs,dcolumn}
\begin{document}
Hier die Tabelle mit siunitx erstellt:
\begin{table}[ht]
\caption{Vergleich von experimentellem mit theoretischem Wirkungsquerschnitt}
\centering
\newcommand{\MC}[1]{\multicolumn{2}{c}{#1}}
\vspace{1em}

\begin{tabular}{
S[tabnumalign=centre,tabformat=3.0]
S[tabnumalign=centre,tabformat=2.2,decimalsymbol=com ma]
S[tabnumalign=centre,tabformat=4.1,decimalsymbol=com ma]@{$\pm$}
S[tabnumalign=centre,tabformat=3.0,decimalsymbol=com ma]
S[tabnumalign=centre,tabformat=4.1,decimalsymbol=com ma]@{$\pm$}
S[tabnumalign=centre,tabformat=3.0,decimalsymbol=com ma]
S[tabnumalign=centre,tabformat=1.4,decimalsymbol=com ma]@{$\pm$}
S[tabnumalign=centre,tabformat=2.3,decimalsymbol=com ma]}
\toprule
$n_u$ &
{$\vartheta$ in \si{\celsius}} &
\MC{$\left(\frac{\mathrm{d}\rho}{\mathrm{d}\Omega} \right)_e$ in \si{b/sr}} &
\MC{$\left(\frac{\mathrm{d}\rho}{\mathrm{d}\Omega} \right)_t$ in \si{b/sr}} &
\MC{$\left(\frac{\mathrm{d}\rho}{\mathrm{d}\Omega} \right)_e / \left(\frac{\mathrm{d}\rho}{\mathrm{d}\Omega}\righ t)_t$}
\\
\midrule
7 & 60,49 & 49 & 8 & 70 & 9 & 0,702 & 0,147 \\
15 & 48,41 & 119 & 19 & 159 & 20 & 0,751 & 0,153 \\
31 & 36,97 & 379 & 60 & 445 & 56 & 0,851 & 0,172 \\
50 & 31,07 & 828 & 13 & 873 & 111 & 0,949 & 0,122 \\
80 & 26,82 & 1556 & 133 & 1553 & 197 & 1,002 & 0,153 \\
100 & 25,28 & 1950 & 322 & 1959 & 249 & 0,996 & 0,207 \\
\bottomrule
\end{tabular}
\end{table}

Hier die Tabelle mit dcolumn
\begin{table}[ht]
\caption{Vergleich von experimentellem mit theoretischem Wirkungsquerschnitt}
\centering
\newcommand{\MC}[1]{\multicolumn{2}{c}{#1}}


\begin{tabular}{D{,}{,}{3.0} D{,}{,}{2.2} D{,}{,}{4.0} @{$\pm$}D{,}{,}{3.0} D{,}{,}{4.0}@{$\pm$} D{,}{,}{3.0} D{,}{,}{1.4}@{$\pm$} D{,}{,}{2.4}}
\toprule
\multicolumn{1}{c}{$n_u$} &
\multicolumn{1}{c}{$\vartheta$ in \si{\celsius}} &
\MC{{$\left(\frac{\mathrm{d}\rho}{\mathrm{d}\Omega }\right)_e$ in \si{b/sr}}} &
\MC{{$\left(\frac{\mathrm{d}\rho}{\mathrm{d}\Omega }\right)_t$ in \si{b/sr}}} &
\MC{{$\left(\frac{\mathrm{d}\rho}{\mathrm{d}\Omega }\right)_e / \left(\frac{\mathrm{d}\rho}{\mathrm{d}\Omega}\righ t)_t$}}
\\
\midrule
7 & 60,49 & 49 & 8 & 70 & 9 & 0,702 & 0,147 \\
15 & 48,41 & 119 & 19 & 159 & 20 & 0,751 & 0,153 \\
31 & 36,97 & 379 & 60 & 445 & 56 & 0,851 & 0,172 \\
50 & 31,07 & 828 & 13 & 873 & 111 & 0,949 & 0,122 \\
80 & 26,82 & 1556 & 133 & 1553 & 197 & 1,002 & 0,153 \\
100 & 25,28 & 1950 & 322 & 1959 & 249 & 0,996 & 0,207 \\
\bottomrule
\end{tabular}
\end{table}

\end{document}

Gruß
Marco

voss
30-11-2008, 18:01
um den Kind mal ein Gesicht zu geben:

[CODE]
[ ... schöne Tabellen! ... ]

Hier die Tabelle mit dcolumn


meistens kann man die Tatsache, dass alle Ziffern gleich breit sind, ausnutzen und
auf dcolumn verzichten:


\def\MC#1{\multicolumn{2}{c@{}}{#1}}
\newcommand*\diff{\mathop{}\!\mathrm{d}}

\begin{center}
\begin{tabular}{@{} r r *3{r@{$\,\pm\,$}l} @{}}\toprule
\multicolumn{1}{c}{$n_u$} &
\multicolumn{1}{c}{$\vartheta$ in \si{\celsius}} &
\MC{$\left(\frac{\diff\rho}{\diff\Omega}\right)_e$ in \si{b/sr}} &
\MC{$\left(\frac{\diff\rho}{\diff\Omega}\right)_t$ in \si{b/sr}} &
\MC{$\left(\frac{\diff\rho}{\diff\Omega}\right)_e\ !/%
\left(\frac{\diff\rho}{\diff\Omega}\right)_t$} \\\midrule
7 & 60,49 & 49 & 8 & 70 & 9 & 0,702 & 0,147 \\
15 & 48,41 & 119 & 19 & 159 & 20 & 0,751 & 0,153 \\
31 & 36,97 & 379 & 60 & 445 & 56 & 0,851 & 0,172 \\
50 & 31,07 & 828 & 13 & 873 & 111 & 0,949 & 0,122 \\
80 & 26,82 & 1556 & 133 & 1553 & 197 & 1,002 & 0,153 \\
100 & 25,28 & 1950 & 322 & 1959 & 249 & 0,996 & 0,207 \\
\bottomrule
\end{tabular}
\end{center}


Herbert

René Geppert
30-11-2008, 19:18
dazu hätte ich eine nachfrage
ich habe eine tabelle, in der alle zahlen die gleiche anzahl an nachkommastellen haben
trotzdem sind sie nicht gleichmäßig ausgerichtet, das einige der zahlen fett sind
allerdings ist die tabelle als tabularx gesetzt

die suche sagt ja eigentlich, dass tabularx+dcolumn keine gute wahl ist bzw., dass es einfach nicht geht
gibt es eine andere möglichkeit außer die tabelle als normale tabular zu setzen?

mfg, René

mechanicus
30-11-2008, 19:32
gibt es eine andere möglichkeit außer die tabelle als normale tabular zu setzen?

mfg, René
Hallo,

warum soll es eigentlich keine normale tabular-Umgebung sein? Tabularx, hat doch nur den Unterschied, dass es den Spaltentyp X enthält.

Gruß
Marco

mohack
30-11-2008, 19:54
danke, ich vertief mich mal darein ;)

René Geppert
30-11-2008, 20:42
Hallo,

warum soll es eigentlich keine normale tabular-Umgebung sein? Tabularx, hat doch nur den Unterschied, dass es den Spaltentyp X enthält.

Gruß
Marco

naja mechanicus
tabularx ist halt recht bequem, da es die spalten gleichmäßig über die angegebene breite verteilt
da in meinem fall sich die spaltenbreite nach der spaltenüberschrift bestimmt, die regelmäßig breiter ist als die paar zahlen, die in ihr stehen, führt das mit der tabular regelmäßig zu einem uneinheitlichen tabellenbild
p-spaltentyp gehen ja genausowenig mit dcolumntypen wie X-spalten oder?

mfg, René

mechanicus
30-11-2008, 20:59
führt das mit der tabular regelmäßig zu einem uneinheitlichen tabellenbild
p-spaltentyp gehen ja genausowenig mit dcolumntypen wie X-spalten oder?

mfg, René
Hallo,

was du mit Tabellen machen kannst, um Dcolumn zu verwenden. Du legst dir einen neuen Zähler an, welchem du eine neue Laenge zuweist. Ich habe es mal mit Zahlen gemacht:

\documentclass[12pt,ngerman]{article}
\usepackage{babel}
\usepackage[latin1]{inputenc}
\usepackage{array,calc,booktabs}
\usepackage{dcolumn}
%Neue Laenge
\newlength{\tablaenge}
%Laenge definieren auf Anzahl Zahlen
\settowidth{\tablaenge}{1234,1234\quad}
%Multicolumntabellenkopf fuer DcolumnTabelle
\def\MC#1{\multicolumn{1}{@{}>{\centering}p{\tablaenge}@{}}{#1}}
\begin{document}

\begin{center}
\begin{tabular}{@{}D{,}{,}{4.4}D{,}{,}{2.4}D{,}{,} {4.2}@{}}\toprule
\MC{Testspalte mit langem Text} & \MC{Testspalte mit langem Text} & \MC{Testspalte mit langem Text} \\\midrule
1234,1234 & 25,354 & 9876,54 \\
123,1234 & 25,3 & 9876,54 \\
14,1234 & 25,354 & 9876,4 \\
1234,1234 & 2,354 & 96,54 \\
1234,1234 & 25,354 & 9876,54 \\\bottomrule
\end{tabular}
\end{center}
\end{document}
Die verwendete Spaltenbreite ist die maximale Zahl mit etwas Spiel. Ich hoffe das hilft als Anregung.

Gruß
Marco

René Geppert
30-11-2008, 21:28
ich hoffe es ist nicht schlimm, dass ich hier meine diskussion fortführe...falls gewollt öffne ich ein neues thema...aber das eigentliche problem hier ist ja bereits gelöscht...scheinbar

mechanicus: leider nicht
ich habe eine korrelationsmatrix, in der signifikante werte mit fett sind
dadurch funktioniert die ganze ausrichtungsgeschichte nicht mehr

mit dcolumnspaltentypen müsste ich ohnehin alle \bfseries-Were zu \textbf ändern...aber da werden die kommas innerhalb eines arguments übergeben und dann ist leider nichts mehr mit dcolumn


\documentclass{scrreprt}
\usepackage{rotating,dcolumn,booktabs,array}
\usepackage[flushleft]{threeparttable}
\usepackage{gmeometric}
\geometry{outer=15mm, inner=50mm, top=25mm, bottom=30mm}
%\newcolumntype{d}{D{.}{.}{-1}}

\begin{document}

\begin{sidewaystable}\caption{Correlation maxtrix}\label{tab:corrmatrix}
\smallskip
{\scriptsize
\begin{threeparttable}
\begin{tabular}{@{}>$l<$*{17}{c}@{}}
\toprule
Variables & \tiny\textit{TURNO} & \tiny\textit{BAS} & \tiny\textit{ZERO} & \tiny\textit{STDEV} & \tiny\textit{LVL\_A} & \tiny\textit{LVL\_B} & \tiny\textit{LVL\_C} & \tiny\textit{LVL\_D} & \tiny\textit{FVOA} & \tiny\textit{FVOL} & \tiny\textit{TRAD} & \tiny\textit{DERIV} & \tiny\textit{TFVA} & \tiny\textit{TFVL} & \tiny\textit{OBS} & \tiny\textit{TRANS} & \tiny\textit{ALLOW} \\
\cmidrule(lr){2-2} \cmidrule(lr){3-3} \cmidrule(lr){4-4} \cmidrule(lr){5-5} \cmidrule(lr){6-6} \cmidrule(lr){7-7} \cmidrule(lr){8-8} \cmidrule(lr){9-9} \cmidrule(lr){10-10} \cmidrule(lr){11-11} \cmidrule(lr){12-12}\cmidrule(lr){13-13} \cmidrule(lr){14-14}\cmidrule(lr){15-15}\cmidrule(lr){16-16} \cmidrule(lr){17-17} \cmidrule(l){18-18}

\textit{TURNO} & & \bfseries{-0.839} & \bfseries{-0.731} & \bfseries{0.248} & \bfseries{0.293} & \bfseries{0.275} &\bfseries{0.282} & -0.015 & \bfseries{0.344} & \bfseries{0.309} & \bfseries{0.395} & \bfseries{0.518} & \bfseries{0.069} &\bfseries{0.540} &\bfseries{0.176} & \bfseries{0.123} & \bfseries{0.082}\\
\textit{BAS} &\bfseries{-0.326}& & \bfseries{0.744} & \bfseries{0.064} & \bfseries{-0.310}& \bfseries{-0.298}&\bfseries{-0.370} &\bfseries{-0.182}& \bfseries{-0.337} & \bfseries{-0.328} & \bfseries{-0.408}& \bfseries{-0.478}& \bfseries{-0.155}&\bfseries{-0.532} &\bfseries{-0.163}& \bfseries{-0.097} & \bfseries{0.074}\\
\textit{ZERO} &\bfseries{-0.284}& \bfseries{0.558} & & \bfseries{-0.200}& \bfseries{-0.259}& \bfseries{-0.242}&\bfseries{-0.260} & -0.059 & \bfseries{-0.221} & \bfseries{-0.259} & \bfseries{-0.304}& \bfseries{-0.375}& -0.055 &\bfseries{-0.411} &\bfseries{-0.120}& \bfseries{-0.099} & \bfseries{-0.063}\\
\textit{STDEV} &\bfseries{0.181} & \bfseries{0.179} & \bfseries{-0.145} & & -0.011 & -0.221 & -0.019 &\bfseries{-0.126}& \bfseries{-0.284} & -0.008 & \bfseries{-0.078}& -0.039 & \bfseries{0.131} & 0.026 &\bfseries{0.066} & 0.029 & \bfseries{0.351}\\
\textit{LVL\_A} &-0.020 &-0.029 &-0.056 &-0.034 & & \bfseries{0.998} & \bfseries{0.912} &\bfseries{-0.130}& \bfseries{0.259} & \bfseries{0.222} & \bfseries{0.365} & \bfseries{0.256} & \bfseries{0.083} & \bfseries{0.275} & 0.005 & \bfseries{0.120} & \bfseries{-0.063}\\
\textit{LVL\_B} &-0.024 &-0.014 &-0.042 &-0.020 &\bfseries{0.962} & & \bfseries{0.933} &\bfseries{-0.095}& \bfseries{0.256} & \bfseries{0.218} & \bfseries{0.376} &\bfseries{0.249} & \bfseries{0.089} & \bfseries{0.268} & 0.002 & \bfseries{0.114} & \bfseries{-0.076}\\
\textit{LVL\_C} &0.039 &\bfseries{-0.081} &-0.056 &-0.033 &\bfseries{0.342} &\bfseries{0.545} & &\bfseries{0.179} & \bfseries{0.277} & \bfseries{0.302} & \bfseries{0.372} & \bfseries{0.306} & \bfseries{0.259} & \bfseries{0.367} & -0.001 & \bfseries{0.103} & \bfseries{-0.239}\\
\textit{LVL\_D} &0.046 &-0.062 &-0.034 &\bfseries{-0.078} &-0.032 &-0.032 & 0.039 & & \bfseries{-0.083} & -0.005 & -0.048 & -0.012 & \bfseries{0.334} & 0.014 & -0.040 & \bfseries{-0.098} & \bfseries{-0.342}\\
\textit{FVOA} &\bfseries{0.349} &\bfseries{-0.093} &\bfseries{-0.072} &-0.026&-0.026 &-0.025 &-0.024 &-0.045 & & \bfseries{0.492} & \bfseries{0.433} & \bfseries{0.468} & \bfseries{0.198} & \bfseries{0.554} & \bfseries{0.061} & \bfseries{0.171}& -0.039\\
\textit{FVOL} &\bfseries{0.324} &\bfseries{-0.117} &\bfseries{-0.109} &\bfseries{-0.061} &-0.024 &-0.024 &-0.016 &-0.037 &\bfseries{0.604} & & \bfseries{0.442} & \bfseries{0.359}& \bfseries{0.198} & \bfseries{0.706} & \bfseries{0.076}& \bfseries{0.178} & \bfseries{-0.111}\\
\textit{TRAD} &\bfseries{0.333} &\bfseries{-0.142} &\bfseries{-0.114} &\bfseries{-0.093} &0.011 &0.016 &0.004 &-0.052 &\bfseries{0.269} &\bfseries{0.354} & & \bfseries{0.441}& \bfseries{0.302} & \bfseries{0.539} & 0.013 & \bfseries{0.154} &\bfseries{-0.168}\\
\textit{DERIV} &\bfseries{0.437} &\bfseries{-0.139} &\bfseries{-0.136} &0.040 &-0.031 &-0.028 &-0.037 &-0.044 &\bfseries{0.302} &\bfseries{0.321} &\bfseries{0.315} & & \bfseries{0.188} & \bfseries{0.752} & \bfseries{0.142}& \bfseries{0.188} & 0.000\\
\textit{TFVA} &\bfseries{0.171} &\bfseries{-0.078} &-0.032 &\bfseries{-0.100} &-0.045 &-0.044 &0.035 &0.038 &\bfseries{0.305} &\bfseries{0.285} &\bfseries{0.340} &\bfseries{0.170} & & \bfseries{0.217} &\bfseries{-0.123}& \bfseries{0.091} &\bfseries{-0.390}\\
\textit{TFVL} &\bfseries{0.423} &\bfseries{-0.137} &\bfseries{-0.127} &\bfseries{-0.065} &-0.029 &-0.028 &-0.019 &-0.047 &\bfseries{0.570} &\bfseries{0.863} &\bfseries{0.615} &\bfseries{0.449} &\bfseries{0.436} & & \bfseries{0.135}& \bfseries{0.192} &\bfseries{-0.067}\\
\textit{OBS} &\bfseries{0.173} &\bfseries{-0.135} &\bfseries{-0.099} &0.028 &-0.008 &-0.003 &\bfseries{-0.081} &-0.038 &0.019 &\bfseries{0.092} &-0.036 &\bfseries{0.131} &\bfseries{-0.077} &\bfseries{0.060} & & -0.049 &\bfseries{0.125}\\
\textit{TRANS} &-0.025 &-0.006 &-0.019 &-0.012 &-0.007 &-0.007 &-0.015 &-0.020 &-0.008 &-0.010 &-0.014 &-0.012 &\bfseries{-0.061} &-0.012 &-0.044 & &\bfseries{-0.080}\\
\textit{ALLOW} &0.022 &\bfseries{0.099} &-0.012 &\bfseries{0.275} &0.020 &0.006 &-0.025 &\bfseries{-0.110}&\bfseries{-0.109} &\bfseries{-0.166} &\bfseries{-0.285} &\bfseries{-0.096}&\bfseries{-0.337} &\bfseries{-0.255} &0.039 &0.012 & \\
\end{tabular}
\begin{tablenotes}
\vspace{\intextsep}
\footnoterule
\footnotesize
\renewcommand{\itemindent}{-3pt}
\item The above table represents pairwise Pearson and Spearman correlation coefficients. Pearsons correlation coefficients are contained in the bottom left, while Spearman correlation coefficients are reported in the top right. Numbers in bold face indicate significance at east at the 5\% level. For reasons of clearness I did not tabulate number of observations used for calculating the corrleation coefficients. Number of firm-quarter observations used for determining the correlation coefficients ranged between 701 and 1217 in all cases.
\end{tablenotes}
\end{threeparttable}
}
\end{sidewaystable}
\end{document}

mechanicus
30-11-2008, 21:37
Hallo,

habe mal 2 suchen-ersetzen-Durchgänge gemacht:
1.:

Suche: \bfseries{0.
Ersetze: \textbf{0}.\textbf{
2.:

Suche: \bfseries{-0.
Ersetze: \textbf{-0}.\textbf{

Und dann kam das raus:

\documentclass{scrreprt}
\usepackage{rotating,dcolumn,booktabs,array}
\usepackage[flushleft]{threeparttable}
\usepackage{gmeometric}
\geometry{outer=15mm, inner=50mm, top=25mm, bottom=30mm}
%\newcolumntype{d}{D{.}{.}{-1}}

\begin{document}

\begin{sidewaystable}\caption{Correlation maxtrix}\label{tab:corrmatrix}
\smallskip
{\scriptsize
\begin{threeparttable}
\begin{tabular}{@{}>$l<$*{17}{c}@{}}
\toprule
Variables & \tiny\textit{TURNO} & \tiny\textit{BAS} & \tiny\textit{ZERO} & \tiny\textit{STDEV} & \tiny\textit{LVL\_A} & \tiny\textit{LVL\_B} & \tiny\textit{LVL\_C} & \tiny\textit{LVL\_D} & \tiny\textit{FVOA} & \tiny\textit{FVOL} & \tiny\textit{TRAD} & \tiny\textit{DERIV} & \tiny\textit{TFVA} & \tiny\textit{TFVL} & \tiny\textit{OBS} & \tiny\textit{TRANS} & \tiny\textit{ALLOW} \\
\cmidrule(lr){2-2} \cmidrule(lr){3-3} \cmidrule(lr){4-4} \cmidrule(lr){5-5} \cmidrule(lr){6-6} \cmidrule(lr){7-7} \cmidrule(lr){8-8} \cmidrule(lr){9-9} \cmidrule(lr){10-10} \cmidrule(lr){11-11} \cmidrule(lr){12-12}\cmidrule(lr){13-13} \cmidrule(lr){14-14}\cmidrule(lr){15-15}\cmidrule(lr){16-16} \cmidrule(lr){17-17} \cmidrule(l){18-18}

\textit{TURNO} & & \textbf{-0}.\textbf{839} & \textbf{-0}.\textbf{731} & \textbf{0}.\textbf{248} & \textbf{0}.\textbf{293} & \textbf{0}.\textbf{275} &\textbf{0}.\textbf{282} & -0.015 & \textbf{0}.\textbf{344} & \textbf{0}.\textbf{309} & \textbf{0}.\textbf{395} & \textbf{0}.\textbf{518} & \textbf{0}.\textbf{069} &\textbf{0}.\textbf{540} &\textbf{0}.\textbf{176} & \textbf{0}.\textbf{123} & \textbf{0}.\textbf{082}\\
\textit{BAS} &\textbf{-0}.\textbf{326}& & \textbf{0}.\textbf{744} & \textbf{0}.\textbf{064} & \textbf{-0}.\textbf{310}& \textbf{-0}.\textbf{298}&\textbf{-0}.\textbf{370} &\textbf{-0}.\textbf{182}& \textbf{-0}.\textbf{337} & \textbf{-0}.\textbf{328} & \textbf{-0}.\textbf{408}& \textbf{-0}.\textbf{478}& \textbf{-0}.\textbf{155}&\textbf{-0}.\textbf{532} &\textbf{-0}.\textbf{163}& \textbf{-0}.\textbf{097} & \textbf{0}.\textbf{074}\\
\textit{ZERO} &\textbf{-0}.\textbf{284}& \textbf{0}.\textbf{558} & & \textbf{-0}.\textbf{200}& \textbf{-0}.\textbf{259}& \textbf{-0}.\textbf{242}&\textbf{-0}.\textbf{260} & -0.059 & \textbf{-0}.\textbf{221} & \textbf{-0}.\textbf{259} & \textbf{-0}.\textbf{304}& \textbf{-0}.\textbf{375}& -0.055 &\textbf{-0}.\textbf{411} &\textbf{-0}.\textbf{120}& \textbf{-0}.\textbf{099} & \textbf{-0}.\textbf{063}\\
\textit{STDEV} &\textbf{0}.\textbf{181} & \textbf{0}.\textbf{179} & \textbf{-0}.\textbf{145} & & -0.011 & -0.221 & -0.019 &\textbf{-0}.\textbf{126}& \textbf{-0}.\textbf{284} & -0.008 & \textbf{-0}.\textbf{078}& -0.039 & \textbf{0}.\textbf{131} & 0.026 &\textbf{0}.\textbf{066} & 0.029 & \textbf{0}.\textbf{351}\\
\textit{LVL\_A} &-0.020 &-0.029 &-0.056 &-0.034 & & \textbf{0}.\textbf{998} & \textbf{0}.\textbf{912} &\textbf{-0}.\textbf{130}& \textbf{0}.\textbf{259} & \textbf{0}.\textbf{222} & \textbf{0}.\textbf{365} & \textbf{0}.\textbf{256} & \textbf{0}.\textbf{083} & \textbf{0}.\textbf{275} & 0.005 & \textbf{0}.\textbf{120} & \textbf{-0}.\textbf{063}\\
\textit{LVL\_B} &-0.024 &-0.014 &-0.042 &-0.020 &\textbf{0}.\textbf{962} & & \textbf{0}.\textbf{933} &\textbf{-0}.\textbf{095}& \textbf{0}.\textbf{256} & \textbf{0}.\textbf{218} & \textbf{0}.\textbf{376} &\textbf{0}.\textbf{249} & \textbf{0}.\textbf{089} & \textbf{0}.\textbf{268} & 0.002 & \textbf{0}.\textbf{114} & \textbf{-0}.\textbf{076}\\
\textit{LVL\_C} &0.039 &\textbf{-0}.\textbf{081} &-0.056 &-0.033 &\textbf{0}.\textbf{342} &\textbf{0}.\textbf{545} & &\textbf{0}.\textbf{179} & \textbf{0}.\textbf{277} & \textbf{0}.\textbf{302} & \textbf{0}.\textbf{372} & \textbf{0}.\textbf{306} & \textbf{0}.\textbf{259} & \textbf{0}.\textbf{367} & -0.001 & \textbf{0}.\textbf{103} & \textbf{-0}.\textbf{239}\\
\textit{LVL\_D} &0.046 &-0.062 &-0.034 &\textbf{-0}.\textbf{078} &-0.032 &-0.032 & 0.039 & & \textbf{-0}.\textbf{083} & -0.005 & -0.048 & -0.012 & \textbf{0}.\textbf{334} & 0.014 & -0.040 & \textbf{-0}.\textbf{098} & \textbf{-0}.\textbf{342}\\
\textit{FVOA} &\textbf{0}.\textbf{349} &\textbf{-0}.\textbf{093} &\textbf{-0}.\textbf{072} &-0.026&-0.026 &-0.025 &-0.024 &-0.045 & & \textbf{0}.\textbf{492} & \textbf{0}.\textbf{433} & \textbf{0}.\textbf{468} & \textbf{0}.\textbf{198} & \textbf{0}.\textbf{554} & \textbf{0}.\textbf{061} & \textbf{0}.\textbf{171}& -0.039\\
\textit{FVOL} &\textbf{0}.\textbf{324} &\textbf{-0}.\textbf{117} &\textbf{-0}.\textbf{109} &\textbf{-0}.\textbf{061} &-0.024 &-0.024 &-0.016 &-0.037 &\textbf{0}.\textbf{604} & & \textbf{0}.\textbf{442} & \textbf{0}.\textbf{359}& \textbf{0}.\textbf{198} & \textbf{0}.\textbf{706} & \textbf{0}.\textbf{076}& \textbf{0}.\textbf{178} & \textbf{-0}.\textbf{111}\\
\textit{TRAD} &\textbf{0}.\textbf{333} &\textbf{-0}.\textbf{142} &\textbf{-0}.\textbf{114} &\textbf{-0}.\textbf{093} &0.011 &0.016 &0.004 &-0.052 &\textbf{0}.\textbf{269} &\textbf{0}.\textbf{354} & & \textbf{0}.\textbf{441}& \textbf{0}.\textbf{302} & \textbf{0}.\textbf{539} & 0.013 & \textbf{0}.\textbf{154} &\textbf{-0}.\textbf{168}\\
\textit{DERIV} &\textbf{0}.\textbf{437} &\textbf{-0}.\textbf{139} &\textbf{-0}.\textbf{136} &0.040 &-0.031 &-0.028 &-0.037 &-0.044 &\textbf{0}.\textbf{302} &\textbf{0}.\textbf{321} &\textbf{0}.\textbf{315} & & \textbf{0}.\textbf{188} & \textbf{0}.\textbf{752} & \textbf{0}.\textbf{142}& \textbf{0}.\textbf{188} & 0.000\\
\textit{TFVA} &\textbf{0}.\textbf{171} &\textbf{-0}.\textbf{078} &-0.032 &\textbf{-0}.\textbf{100} &-0.045 &-0.044 &0.035 &0.038 &\textbf{0}.\textbf{305} &\textbf{0}.\textbf{285} &\textbf{0}.\textbf{340} &\textbf{0}.\textbf{170} & & \textbf{0}.\textbf{217} &\textbf{-0}.\textbf{123}& \textbf{0}.\textbf{091} &\textbf{-0}.\textbf{390}\\
\textit{TFVL} &\textbf{0}.\textbf{423} &\textbf{-0}.\textbf{137} &\textbf{-0}.\textbf{127} &\textbf{-0}.\textbf{065} &-0.029 &-0.028 &-0.019 &-0.047 &\textbf{0}.\textbf{570} &\textbf{0}.\textbf{863} &\textbf{0}.\textbf{615} &\textbf{0}.\textbf{449} &\textbf{0}.\textbf{436} & & \textbf{0}.\textbf{135}& \textbf{0}.\textbf{192} &\textbf{-0}.\textbf{067}\\
\textit{OBS} &\textbf{0}.\textbf{173} &\textbf{-0}.\textbf{135} &\textbf{-0}.\textbf{099} &0.028 &-0.008 &-0.003 &\textbf{-0}.\textbf{081} &-0.038 &0.019 &\textbf{0}.\textbf{092} &-0.036 &\textbf{0}.\textbf{131} &\textbf{-0}.\textbf{077} &\textbf{0}.\textbf{060} & & -0.049 &\textbf{0}.\textbf{125}\\
\textit{TRANS} &-0.025 &-0.006 &-0.019 &-0.012 &-0.007 &-0.007 &-0.015 &-0.020 &-0.008 &-0.010 &-0.014 &-0.012 &\textbf{-0}.\textbf{061} &-0.012 &-0.044 & &\textbf{-0}.\textbf{080}\\
\textit{ALLOW} &0.022 &\textbf{0}.\textbf{099} &-0.012 &\textbf{0}.\textbf{275} &0.020 &0.006 &-0.025 &\textbf{-0}.\textbf{110}&\textbf{-0}.\textbf{109} &\textbf{-0}.\textbf{166} &\textbf{-0}.\textbf{285} &\textbf{-0}.\textbf{096}&\textbf{-0}.\textbf{337} &\textbf{-0}.\textbf{255} &0.039 &0.012 & \\
\end{tabular}
\begin{tablenotes}
\vspace{\intextsep}
\footnoterule
\footnotesize
\renewcommand{\itemindent}{-3pt}
\item The above table represents pairwise Pearson and Spearman correlation coefficients. Pearsons correlation coefficients are contained in the bottom left, while Spearman correlation coefficients are reported in the top right. Numbers in bold face indicate significance at east at the 5\% level. For reasons of clearness I did not tabulate number of observations used for calculating the corrleation coefficients. Number of firm-quarter observations used for determining the correlation coefficients ranged between 701 and 1217 in all cases.
\end{tablenotes}
\end{threeparttable}
}
\end{sidewaystable}
\end{document}

Gleich mal eine Frage, eine Korrelationsmatrix ist eigentlich symmetrisch, und alle Werte sind positiv. Die Verwendung eines signums ist nur bei einer linearen Regression möglich. D.H. Alle Werte müssten zwischen 0und 1 sein?

Gruß
Marco

René Geppert
30-11-2008, 21:44
wieso sollte es nur positive korrleationen geben können?
und symmetrisch ist sie nicht, weil links unten pearson'sche und rechts oben spearman'sche korrelationskoeffizienten stehen

btw - deine tabelle ergibt exakt dasselbe bild wie beim von mir geposteten code (keine ausrichtung am punkt)
oder was hätte bei rauskommen sollen?

mechanicus
30-11-2008, 21:46
wieso sollte es nur positive korrleationen geben können?
und symmetrisch ist sie, links unten pearson'sche und rechts oben spearman'sche korrelationskoeffizienten stehen

btw - deine tabelle ergibt exakt dasselbe bild wie beim von mir geposteten code (keine ausrichtung am punkt)
oder was hätte bei rauskommen sollen?

Habe was vergessen:

\documentclass{scrreprt}
\usepackage{rotating,dcolumn,booktabs,array}
\usepackage[flushleft]{threeparttable}
\usepackage{gmeometric}
\geometry{outer=15mm, inner=50mm, top=25mm, bottom=30mm}
%\newcolumntype{d}{D{.}{.}{-1}}

\begin{document}
\newcommand{\MC}[1]{\multicolumn{1}{@{}c@{}}{#1}}
\begin{sidewaystable}\caption{Correlation maxtrix}\label{tab:corrmatrix}
\smallskip
{\scriptsize
\begin{threeparttable}
\begin{tabular}{@{}>$l<$*{17}{D{.}{.}{1,4}}@{}}
\toprule
Variables & \MC{\tiny\textit{TURNO}} & \MC{\tiny\textit{BAS}} & \MC{\tiny\textit{ZERO}} & \MC{\tiny\textit{STDEV}} & \MC{\tiny\textit{LVL\_A}} & \MC{\tiny\textit{LVL\_B}} & \MC{\tiny\textit{LVL\_C}} & \MC{\tiny\textit{LVL\_D}} & \MC{\tiny\textit{FVOA}} & \MC{\tiny\textit{FVOL}} & \MC{\tiny\textit{TRAD}} & \MC{\tiny\textit{DERIV}} & \MC{\tiny\textit{TFVA}} & \MC{\tiny\textit{TFVL}} & \MC{\tiny\textit{OBS}} & \MC{\tiny\textit{TRANS}} & \MC{\tiny\textit{ALLOW}} \\
\cmidrule(lr){2-2} \cmidrule(lr){3-3} \cmidrule(lr){4-4} \cmidrule(lr){5-5} \cmidrule(lr){6-6} \cmidrule(lr){7-7} \cmidrule(lr){8-8} \cmidrule(lr){9-9} \cmidrule(lr){10-10} \cmidrule(lr){11-11} \cmidrule(lr){12-12}\cmidrule(lr){13-13} \cmidrule(lr){14-14}\cmidrule(lr){15-15}\cmidrule(lr){16-16} \cmidrule(lr){17-17} \cmidrule(l){18-18}

\textit{TURNO} & & \textbf{-0}.\textbf{839} & \textbf{-0}.\textbf{731} & \textbf{0}.\textbf{248} & \textbf{0}.\textbf{293} & \textbf{0}.\textbf{275} &\textbf{0}.\textbf{282} & -0.015 & \textbf{0}.\textbf{344} & \textbf{0}.\textbf{309} & \textbf{0}.\textbf{395} & \textbf{0}.\textbf{518} & \textbf{0}.\textbf{069} &\textbf{0}.\textbf{540} &\textbf{0}.\textbf{176} & \textbf{0}.\textbf{123} & \textbf{0}.\textbf{082}\\
\textit{BAS} &\textbf{-0}.\textbf{326}& & \textbf{0}.\textbf{744} & \textbf{0}.\textbf{064} & \textbf{-0}.\textbf{310}& \textbf{-0}.\textbf{298}&\textbf{-0}.\textbf{370} &\textbf{-0}.\textbf{182}& \textbf{-0}.\textbf{337} & \textbf{-0}.\textbf{328} & \textbf{-0}.\textbf{408}& \textbf{-0}.\textbf{478}& \textbf{-0}.\textbf{155}&\textbf{-0}.\textbf{532} &\textbf{-0}.\textbf{163}& \textbf{-0}.\textbf{097} & \textbf{0}.\textbf{074}\\
\textit{ZERO} &\textbf{-0}.\textbf{284}& \textbf{0}.\textbf{558} & & \textbf{-0}.\textbf{200}& \textbf{-0}.\textbf{259}& \textbf{-0}.\textbf{242}&\textbf{-0}.\textbf{260} & -0.059 & \textbf{-0}.\textbf{221} & \textbf{-0}.\textbf{259} & \textbf{-0}.\textbf{304}& \textbf{-0}.\textbf{375}& -0.055 &\textbf{-0}.\textbf{411} &\textbf{-0}.\textbf{120}& \textbf{-0}.\textbf{099} & \textbf{-0}.\textbf{063}\\
\textit{STDEV} &\textbf{0}.\textbf{181} & \textbf{0}.\textbf{179} & \textbf{-0}.\textbf{145} & & -0.011 & -0.221 & -0.019 &\textbf{-0}.\textbf{126}& \textbf{-0}.\textbf{284} & -0.008 & \textbf{-0}.\textbf{078}& -0.039 & \textbf{0}.\textbf{131} & 0.026 &\textbf{0}.\textbf{066} & 0.029 & \textbf{0}.\textbf{351}\\
\textit{LVL\_A} &-0.020 &-0.029 &-0.056 &-0.034 & & \textbf{0}.\textbf{998} & \textbf{0}.\textbf{912} &\textbf{-0}.\textbf{130}& \textbf{0}.\textbf{259} & \textbf{0}.\textbf{222} & \textbf{0}.\textbf{365} & \textbf{0}.\textbf{256} & \textbf{0}.\textbf{083} & \textbf{0}.\textbf{275} & 0.005 & \textbf{0}.\textbf{120} & \textbf{-0}.\textbf{063}\\
\textit{LVL\_B} &-0.024 &-0.014 &-0.042 &-0.020 &\textbf{0}.\textbf{962} & & \textbf{0}.\textbf{933} &\textbf{-0}.\textbf{095}& \textbf{0}.\textbf{256} & \textbf{0}.\textbf{218} & \textbf{0}.\textbf{376} &\textbf{0}.\textbf{249} & \textbf{0}.\textbf{089} & \textbf{0}.\textbf{268} & 0.002 & \textbf{0}.\textbf{114} & \textbf{-0}.\textbf{076}\\
\textit{LVL\_C} &0.039 &\textbf{-0}.\textbf{081} &-0.056 &-0.033 &\textbf{0}.\textbf{342} &\textbf{0}.\textbf{545} & &\textbf{0}.\textbf{179} & \textbf{0}.\textbf{277} & \textbf{0}.\textbf{302} & \textbf{0}.\textbf{372} & \textbf{0}.\textbf{306} & \textbf{0}.\textbf{259} & \textbf{0}.\textbf{367} & -0.001 & \textbf{0}.\textbf{103} & \textbf{-0}.\textbf{239}\\
\textit{LVL\_D} &0.046 &-0.062 &-0.034 &\textbf{-0}.\textbf{078} &-0.032 &-0.032 & 0.039 & & \textbf{-0}.\textbf{083} & -0.005 & -0.048 & -0.012 & \textbf{0}.\textbf{334} & 0.014 & -0.040 & \textbf{-0}.\textbf{098} & \textbf{-0}.\textbf{342}\\
\textit{FVOA} &\textbf{0}.\textbf{349} &\textbf{-0}.\textbf{093} &\textbf{-0}.\textbf{072} &-0.026&-0.026 &-0.025 &-0.024 &-0.045 & & \textbf{0}.\textbf{492} & \textbf{0}.\textbf{433} & \textbf{0}.\textbf{468} & \textbf{0}.\textbf{198} & \textbf{0}.\textbf{554} & \textbf{0}.\textbf{061} & \textbf{0}.\textbf{171}& -0.039\\
\textit{FVOL} &\textbf{0}.\textbf{324} &\textbf{-0}.\textbf{117} &\textbf{-0}.\textbf{109} &\textbf{-0}.\textbf{061} &-0.024 &-0.024 &-0.016 &-0.037 &\textbf{0}.\textbf{604} & & \textbf{0}.\textbf{442} & \textbf{0}.\textbf{359}& \textbf{0}.\textbf{198} & \textbf{0}.\textbf{706} & \textbf{0}.\textbf{076}& \textbf{0}.\textbf{178} & \textbf{-0}.\textbf{111}\\
\textit{TRAD} &\textbf{0}.\textbf{333} &\textbf{-0}.\textbf{142} &\textbf{-0}.\textbf{114} &\textbf{-0}.\textbf{093} &0.011 &0.016 &0.004 &-0.052 &\textbf{0}.\textbf{269} &\textbf{0}.\textbf{354} & & \textbf{0}.\textbf{441}& \textbf{0}.\textbf{302} & \textbf{0}.\textbf{539} & 0.013 & \textbf{0}.\textbf{154} &\textbf{-0}.\textbf{168}\\
\textit{DERIV} &\textbf{0}.\textbf{437} &\textbf{-0}.\textbf{139} &\textbf{-0}.\textbf{136} &0.040 &-0.031 &-0.028 &-0.037 &-0.044 &\textbf{0}.\textbf{302} &\textbf{0}.\textbf{321} &\textbf{0}.\textbf{315} & & \textbf{0}.\textbf{188} & \textbf{0}.\textbf{752} & \textbf{0}.\textbf{142}& \textbf{0}.\textbf{188} & 0.000\\
\textit{TFVA} &\textbf{0}.\textbf{171} &\textbf{-0}.\textbf{078} &-0.032 &\textbf{-0}.\textbf{100} &-0.045 &-0.044 &0.035 &0.038 &\textbf{0}.\textbf{305} &\textbf{0}.\textbf{285} &\textbf{0}.\textbf{340} &\textbf{0}.\textbf{170} & & \textbf{0}.\textbf{217} &\textbf{-0}.\textbf{123}& \textbf{0}.\textbf{091} &\textbf{-0}.\textbf{390}\\
\textit{TFVL} &\textbf{0}.\textbf{423} &\textbf{-0}.\textbf{137} &\textbf{-0}.\textbf{127} &\textbf{-0}.\textbf{065} &-0.029 &-0.028 &-0.019 &-0.047 &\textbf{0}.\textbf{570} &\textbf{0}.\textbf{863} &\textbf{0}.\textbf{615} &\textbf{0}.\textbf{449} &\textbf{0}.\textbf{436} & & \textbf{0}.\textbf{135}& \textbf{0}.\textbf{192} &\textbf{-0}.\textbf{067}\\
\textit{OBS} &\textbf{0}.\textbf{173} &\textbf{-0}.\textbf{135} &\textbf{-0}.\textbf{099} &0.028 &-0.008 &-0.003 &\textbf{-0}.\textbf{081} &-0.038 &0.019 &\textbf{0}.\textbf{092} &-0.036 &\textbf{0}.\textbf{131} &\textbf{-0}.\textbf{077} &\textbf{0}.\textbf{060} & & -0.049 &\textbf{0}.\textbf{125}\\
\textit{TRANS} &-0.025 &-0.006 &-0.019 &-0.012 &-0.007 &-0.007 &-0.015 &-0.020 &-0.008 &-0.010 &-0.014 &-0.012 &\textbf{-0}.\textbf{061} &-0.012 &-0.044 & &\textbf{-0}.\textbf{080}\\
\textit{ALLOW} &0.022 &\textbf{0}.\textbf{099} &-0.012 &\textbf{0}.\textbf{275} &0.020 &0.006 &-0.025 &\textbf{-0}.\textbf{110}&\textbf{-0}.\textbf{109} &\textbf{-0}.\textbf{166} &\textbf{-0}.\textbf{285} &\textbf{-0}.\textbf{096}&\textbf{-0}.\textbf{337} &\textbf{-0}.\textbf{255} &0.039 &0.012 & \\
\end{tabular}
\begin{tablenotes}
\vspace{\intextsep}
\footnoterule
\footnotesize
\renewcommand{\itemindent}{-3pt}
\item The above table represents pairwise Pearson and Spearman correlation coefficients. Pearsons correlation coefficients are contained in the bottom left, while Spearman correlation coefficients are reported in the top right. Numbers in bold face indicate significance at east at the 5\% level. For reasons of clearness I did not tabulate number of observations used for calculating the corrleation coefficients. Number of firm-quarter observations used for determining the correlation coefficients ranged between 701 and 1217 in all cases.
\end{tablenotes}
\end{threeparttable}
}
\end{sidewaystable}
\end{document}
Jetzt passt es.

René Geppert
30-11-2008, 21:51
das sieht wirklich sehr sehr gut aus :D

vielen dank wie immer für die tollen anregungen und lösungen xD