TeX - LaTeX Asked on January 3, 2022

I am trying to compile this:

```
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}sumlimits_{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}
```

and I get the following error:

```
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Extra }, or forgotten $.
```

Would you please help me with this?

I don't think you need the `caption*`

wrapper at all.

You'll notice that I've removed *a lot* of curly braces from the equation as they don't do anything except code clutter. I can't help but observe that the regression equation still doesn't look right; e.g., shouldn't `mathrm{GLDRIX}_{mathrm{innov}}`

have a time-`t`

subscript?

```
documentclass{article} % or some other suitable doc. class
usepackage{amsmath} % for 'equation*' env.
usepackage[skip=0.5baselineskip]{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_1mathrm{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}
```

Answered by Mico on January 3, 2022

Get help from others!

Recent Answers

- haakon.io on Why fry rice before boiling?
- Jon Church on Why fry rice before boiling?
- Joshua Engel on Why fry rice before boiling?
- Peter Machado on Why fry rice before boiling?
- Lex on Does Google Analytics track 404 page responses as valid page views?

Recent Questions

- How can I transform graph image into a tikzpicture LaTeX code?
- How Do I Get The Ifruit App Off Of Gta 5 / Grand Theft Auto 5
- Iv’e designed a space elevator using a series of lasers. do you know anybody i could submit the designs too that could manufacture the concept and put it to use
- Need help finding a book. Female OP protagonist, magic
- Why is the WWF pending games (“Your turn”) area replaced w/ a column of “Bonus & Reward”gift boxes?

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP