简而言之,我想要一些如下所示的东西:
到目前为止我已获得以下输出:
代码如下:
\documentclass[12pt, a4paper] {article}
\usepackage{amsmath}
\DeclareMathOperator{\var}{var}
\usepackage{mathdesign}
\renewcommand{\vec}[1]{\mathbf{#1}}
\begin{document}
\begin{equation}
\begin{gathered}
R_{it} = \alpha_{i} + \beta_{i} R_{mt} + \varepsilon_{it} \\
E(\varepsilon_{it} = 0) \qquad \var(\varepsilon_{it}) = \sigma_{\varepsilon_{it}}^2
\end{gathered}
\label{eq: marketmodel}
\end{equation}
\begin{equation}
\vec{R}_i = \vec{X}_i\vec{\theta}_i + \boldsymbol{\vec{\varepsilon}}_{it}
\label{eq: mmvectors}
\end{equation}
where $\vec{R}_i = [R_{iT_0} \dotsm R_{iT_1}]'$ is an $(L_1 x 1)$ vector of estimation-window returns,
\end{document}
请注意,尤其是我在文中对方程式中的变量的定义是混乱的。此外,如果能进一步帮助解决以下方程式(4.4.3 - 4.4.6)就太好了!谢谢!
答案1
我无法很好地读取图像。这使用了bm
和\tau
。我还用 替换了x
。\times
我还添加了一些可能有用的包 - 删除任何你不想要的。我使用 Latin Modern 只是为了举例,因为mathdesign
在我的查看器中使用默认设置无法很好地显示,我不想弄乱它。
\documentclass[12pt, a4paper] {article}
\usepackage[T1]{fontenc}
\usepackage{mathtools,bm,amsfonts,amssymb,lmodern}
\DeclareMathOperator{\var}{var}
% \usepackage{mathdesign}
\renewcommand{\vec}[1]{\bm{#1}}
\begin{document}
\begin{equation}
\begin{gathered}
R_{i\tau} = \alpha_{i} + \beta_{i} R_{m\tau} + \epsilon_{i\tau} \\
E(\epsilon_{i\tau} = 0) \qquad \var(\epsilon_{i\tau}) = \sigma_{\epsilon_{i\tau}}^2
\end{gathered}
\label{eq: marketmodel}
\end{equation}
\begin{equation}
\vec{R}_i = \vec{X}_i\vec{\theta}_i + \vec{\epsilon}_{i\tau}
\label{eq: mmvectors}
\end{equation}
where $\vec{R}_i = [R_{iT_{0+1}} \dotsm R_{iT_1}]'$ is an $(L_1 \times 1)$ vector of estimation-window returns,
\begin{align}
\vec{\hat{\theta}}_i &= (\vec{X}_i'\vec{X}_i)^{-1} \vec{X}_i'\vec{R}_i\\
{\hat{\sigma}}^2_{\vec{\epsilon}_i} &= \frac{1}{L_1 - 2} \hat{\vec{\epsilon}}_i'\hat{\vec{\epsilon}}_i\\
\hat{\vec{\epsilon}}_i &= \vec{R}_i - \vec{X_i}\vec{\hat{\theta}}_i\\
\var[\vec{\hat{\theta}}_i] &= (\vec{X}_i'\vec{X}_i)^{-1}\sigma^2_{\vec{\epsilon}_i}
\end{align}
\end{document}
答案2
你最好选择bm
包装和
\renewcommand{\vec}[1]{\bm{#1}}
代码:
\documentclass[12pt, a4paper] {article}
\usepackage{amsmath}
\usepackage{bm}
\DeclareMathOperator{\var}{var}
\usepackage{mathdesign}
\renewcommand{\vec}[1]{\bm{#1}}
\begin{document}
\begin{equation}
\begin{gathered}
R_{i\tau} = \alpha_{i} + \beta_{i} R_{m\tau} + \varepsilon_{i\tau} \\
E(\varepsilon_{i\tau} = 0) \qquad \var(\varepsilon_{i\tau}) = \sigma_{\varepsilon_{i\tau}}^2
\end{gathered}
\label{eq: marketmodel}
\end{equation}
\begin{equation}
\vec{R}_i = \vec{X}_i\vec{\theta}_i + \boldsymbol{\vec{\varepsilon}}_{i\tau}
\label{eq: mmvectors}
\end{equation}
where $\vec{R}_i = [R_{iT_0} \dotsm R_{iT_1}]'$ is an $(L_1 x 1)$ vector of estimation-window returns,
\end{document}
我已用 替换t
,\tau
如果我错了,请恢复。
答案3
图片显示了一个相当不一致的字体选择,使用粗体直立罗马字体和粗体倾斜希腊字体作为矢量。也许最简单的方法是使用bm
包和
\newcommand\vec[1]{\bm{\mathrm{#1}}
然后\vec{R}
应该\vec{\theta}
做正确的事