Hallo,
mir ist Deine \sym-Definition unklar, aber Du hast jedenfalls übersehen, dass man innerhalb von longtable nicht nochmal eine Tabelle definiert!
Code:
\documentclass[a4paper, 12pt, ngerman]{scrartcl}
\usepackage{longtable,blindtext,multicol, babel, array}
\usepackage[T1]{fontenc}\usepackage[utf8]{inputenc}
\newcommand{\sym}[1]{\relax}
\begin{document}
\begin{longtable}[c]{p{3cm}p{3cm}p{3cm}p{3cm}p{3cm}}
\caption{Lineare Regression}\\
&\multicolumn{1}{c}{Modell 1}&\multicolumn{1}{c}{Modell
2}&\multicolumn{1}{c}{Modell 3}&\multicolumn{1}{c}{Modell
4}\\ \endfirsthead
\caption{Lineare Regression}\\
&\multicolumn{1}{c}{Modell 1}&\multicolumn{1}{c}{Modell
2}&\multicolumn{1}{c}{Modell 3}&\multicolumn{1}{c}{Modell 4}\\ \endhead
%\\ \hline
\textit{Tabelle wird auf der nächsten Seite fortgesetzt} \\
\endfoot
%\\ \\ \hline \\
\textit{Ende der Tabelle} \\
\endlastfoot
%\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}
%\begin{tabular}{l*{4}{c}}
sex & 0.0331\sym{*}& 0.0253 & 0.0283\sym{+}& 0.0288\sym{*}\\
& (0.0160) & (0.0157) & (0.0159) & (0.0142) \\
[1em]
age\_c & -0.0441\sym{*}& -0.0338\sym{*}& -0.0343\sym{*}& -0.0407\sym{*}\\
& (0.00493) & (0.00497) & (0.00500) & (0.00436) \\
[1em]
centreab\_c & -0.0136\sym{*}& -0.0117\sym{*}& -0.00802 & \\
& (0.00579) & (0.00575) & (0.00579) & \\
[1em]
EcoIndex\_c & 0.0174\sym{*}& 0.0292\sym{*}& 0.0279\sym{*}& 0.0289\sym{*}\\
& (0.00479) & (0.00493) & (0.00490) & (0.00431) \\
[1em]
WisIndex\_c & 0.0379\sym{*}& 0.0345\sym{*}& 0.0356\sym{*}& 0.0348\sym{*}\\
& (0.00209) & (0.00213) & (0.00212) & (0.00181) \\
[1em]
KenIndex & 0.291\sym{*}& 0.282\sym{*}& 0.279\sym{*}& 0.269\sym{*}\\
& (0.0174) & (0.0172) & (0.0174) & (0.0155) \\
[1em]
ConIndex\_c & 0.0805\sym{*}& 0.0966\sym{*}& 0.0883\sym{*}& 0.0854\sym{*}\\
& (0.00286) & (0.00319) & (0.00296) & (0.00262) \\
[1em]
NatDem & 0.254\sym{*}& 0.282\sym{*}& 0.301\sym{*}& 0.322\sym{*}\\
& (0.0166) & (0.0173) & (0.0173) & (0.0153) \\
[1em]
Belgium & & 0.358\sym{*}& & \\
& & (0.0600) & & \\
[1em]
Denmark & & -0.207\sym{*}& & \\
& & (0.0596) & & \\
[1em]
GermanyWest & & 0.324\sym{*}& & \\
& & (0.0605) & & \\
[1em]
GermanyEast & & 0.169\sym{*}& & \\
& & (0.0708) & & \\
[1em]
Greece & & 0.132\sym{*}& & \\
& & (0.0628) & & \\
[1em]
Spain & & 0.639\sym{*}& & \\
& & (0.0620) & & \\
[1em]
France & & 0.298\sym{*}& & \\
& & (0.0602) & & \\
[1em]
Finland & & -0.202\sym{*}& & \\
& & (0.0603) & & \\
[1em]
Ireland & & -0.124\sym{*}& & \\
& & (0.0612) & & \\
[1em]
Italy & & 0.256\sym{*}& & \\
& & (0.0647) & & \\
[1em]
Luxemburg & & 0.185\sym{*}& & \\
& & (0.0735) & & \\
[1em]
Netherlands & & -0.0518 & & \\
& & (0.0598) & & \\
[1em]
Austria & & -0.0233 & & \\
& & (0.0607) & & \\
[1em]
Portugal & & 0.375\sym{*}& & \\
& & (0.0647) & & \\
[1em]
Sweden & & -0.185\sym{*}& & \\
& & (0.0591) & & \\
[1em]
UK & & -0.348\sym{*}& & \\
& & (0.0601) & & \\
[1em]
Czech & & -0.111\sym{+}& & \\
& & (0.0595) & & \\
[1em]
Estonia & & -0.0701 & & \\
& & (0.0621) & & \\
[1em]
Hungary & & 0.361\sym{*}& & \\
& & (0.0610) & & \\
[1em]
Latvia & & -0.319\sym{*}& & \\
& & (0.0629) & & \\
[1em]
Lithuania & & -0.145\sym{*}& & \\
& & (0.0680) & & \\
[1em]
Malta & & 0.131 & & \\
& & (0.0842) & & \\
[1em]
Poland & & 0.258\sym{*}& & \\
& & (0.0629) & & \\
[1em]
Slovakia & & 0.196\sym{*}& & \\
& & (0.0607) & & \\
[1em]
Slovenia & & -0.219\sym{*}& & \\
& & (0.0642) & & \\
[1em]
Bulgaria & & 0.175\sym{*}& & \\
& & (0.0640) & & \\
[1em]
Romania & & 0.0832 & & \\
& & (0.0682) & & \\
[1em]
dauer\_c & & & 0.00474\sym{*}& 0.00518\sym{*}\\
& & & (0.000684) & (0.000619) \\
[1em]
bnp2009\_c & & & -0.00182\sym{*}& -0.00167\sym{*}\\
& & & (0.000337) & (0.000269) \\
[1em]
arbeit\_c & & & 0.00808\sym{*}& 0.00658\sym{*}\\
& & & (0.00226) & (0.00193) \\
[1em]
euro & & & 0.181\sym{*}& 0.163\sym{*}\\
& & & (0.0229) & (0.0182) \\
[1em]
DDIndex\_c & & & -0.0975\sym{*}& -0.0897\sym{*}\\
& & & (0.0163) & (0.0146) \\
[1em]
postmat\_c & & & 0.00365 & \\
& & & (0.0209) & \\
[1em]
Constant & 0.788\sym{*}& 0.721\sym{*}& 0.676\sym{*}& 0.656\sym{*}\\
& (0.0161) & (0.0492) & (0.0209) & (0.0177) \\
\hline
Observations & 19666 & 19666 & 19666 & 24179 \\
Adjusted \(R^{2}\) & 0.150 & 0.190 & 0.166 & 0.171 \\
\hline\hline
\multicolumn{5}{l}{\footnotesize Standard errors in parentheses}\\
\multicolumn{5}{l}{\footnotesize \sym{+} \(p<0.10\), \sym{*} \(p<0.05\)}\\
%\end{tabular}
\end{longtable}
\end{document}
Und die Code-Umgebung hier kriegst Du, indem Du auf "#" klickst.
Gruß,
Alexander
Lesezeichen