我正在尝试编译这个:
\center
\clearpage
\begin{table}
\caption{. U.S. Stock Return Predictability}
\caption*{\small Table II shows return predictability for the U.S. equity market, December 1986 to May 2014, 330 monthly observations. The regression is:\\
\begin{equation*}
\frac{{12}}{h}\sum\limits_{i = 1}^h {\log {R_{t + i}} - } \log R_{t + i}^f = {\beta _0} + {\beta _1}GLDRI{X_{innov}} + {\varepsilon _{t + h}}
\end{equation*}
The left had side variable is the excess return on the CRSP value-weighted index, annualized by horizon h. The right hand side predictor is $GLDRIX_{innov}$. The returns are calculated based on overlapping monthly data, and t-statistics are based on Newey and West (1987) HAC robust standard errors.}
\include{det1}
\label{table:II}
\end{table}
我收到以下错误:
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Extra }, or forgotten $.
你能帮助我吗?
答案1
\caption*
我认为你根本不需要包装纸。
你会注意到我删除了很多方程式中的花括号,因为它们除了使代码混乱外没有任何作用。我忍不住发现回归方程式仍然看起来不正确;例如,不应该\mathrm{GLDRIX}_{\mathrm{innov}}
有时间下t
标吗?
\documentclass{article} % or some other suitable doc. class
\usepackage{amsmath} % for 'equation*' env.
\usepackage[skip=0.5\baselineskip]{caption}
\begin{document}
\begin{table}
\caption{U.S. stock return predictability}
\label{table:II}
\begingroup
\small % <-- is this really needed?
This table shows return predictability for the U.S. equity market,
December 1986 to May 2014, 330 monthly observations.
The regression equation is:
\begin{equation*}
\frac{12}{h}\sum_{i=1}^h \log R_{t+i} - \log R_{t+i}^f
= \beta_0 + \beta_1\mathrm{GLDRIX}_{\mathrm{innov}} + \varepsilon_{t + h}
\end{equation*}
The left hand side variable is the excess return on the CRSP
value-weighted index, annualized by horizon $h$. The right hand
side predictor is $\mathrm{GLDRIX}_{\mathrm{innov}}$. The returns
are calculated based on overlapping monthly data, and $t$-statistics
are based on Newey and West (1987) HAC robust standard errors.
\endgroup
%\centering
%\input det1 % does 'det1.tex' contain some tabular material?
\end{table}
\end{document}