表格引用中有问号吗?

表格引用中有问号吗?

我有这段代码,当我编译(甚至多次)时,在 pdf 上应该有参考的位置会出现一些问号。

Actually if we perform an Augmented Dickey-Fuller test on the in-sample we refuse the null hypothesis of explosive process with a p-value of 0.8226. 
This applies to all the models here presented, AR(1), AR(3) and 
ARMA(1,1). Model coefficients can be inspected in Table 
\ref{tab:daily_model_coefficients}
\medskip

\begin{figure}[H]
    \centering
    \caption{Model coefficients of the Daily Component Models\label{tab:daily_model_coefficients}}
    \begin{tabular}{c|c|c|c|c|c}
    \hline \hline
    $Model$ & \phi_{0} & \phi_{1} & \phi_{2} & \phi_{3} & \theta_{1}\\   
    \hline
    AR(1)   & 6.5397    & 0.8988 &- &- & - \\
    AR(3) & 6.2932  & 0.7257    & -0.0099   & 0.2162 &- \\
    ARMA(1,1) & 6.0340  & 0.9741    & -&    -   & -0.4991 \\
\hline
\end{tabular}
\end{table}

所以重点是,当我编译几次时,我得到了以下内容:

实际上,如果我们对样本内进行增强迪基-福勒检验,我们会拒绝爆炸过程的零假设,p 值为 0.8226。这适用于此处介绍的所有模型,AR(1)、AR(3) 和 ARMA(1,1)。模型系数可在表格 ?? 中查看

我现在正在使用 Sharelatex。我会很感激任何建议

答案1

为了使您的引用正常工作(在 ShareLaTeX 上),您需要使文档编译时没有错误。您会注意到,在您的示例中,您以 开头,figure但以 结尾table

\begin{figure}[H]
  % ...
\end{table}

此外,tabular如果您没有正确插入数学模式,标题行就会包含数学内容。

这是你所需要的:

在此处输入图片描述

\documentclass{article}

\begin{document}

Actually if we perform an Augmented Dickey-Fuller test on the in-sample we
refuse the null hypothesis of explosive process with a p-value of 0.8226. 
This applies to all the models here presented, AR(1), AR(3) and 
ARMA(1,1). Model coefficients can be inspected in Table 
\ref{tab:daily_model_coefficients}.

\begin{table}
  \centering
  \caption{Model coefficients of the Daily Component Models\label{tab:daily_model_coefficients}}
  \begin{tabular}{c|c|c|c|c|c}
    \hline \hline
    Model & $\phi_0$ & $\phi_1$ & $\phi_2$ & $\phi_3$ & $\theta_1$ \\   
    \hline
    AR(1)   & 6.5397    & 0.8988 &- &- & - \\
    AR(3) & 6.2932  & 0.7257    & -0.0099   & 0.2162 &- \\
    ARMA(1,1) & 6.0340  & 0.9741    & -&    -   & -0.4991 \\
    \hline
  \end{tabular}
\end{table}

\end{document}

考虑使用booktabs以表达您的tabular意见。

答案2

这也许是一种细微差别,但我的印象是建议的做法是将标签放在标题后面:

\documentclass{article}

\begin{document}

Actually if we perform an Augmented Dickey-Fuller test on the in-sample we refuse the null hypothesis of explosive process with a p-value of 0.8226. 
This applies to all the models here presented, AR(1), AR(3) and 
ARMA(1,1). Model coefficients can be inspected in Table 
\ref{tab:daily_model_coefficients}
\medskip
\begin{table}[htbp]
    \centering
    \begin{tabular}{c|c|c|c|c|c}
        \hline \hline
        $Model$ & $\phi_{0}$ & $\phi_{1}$ & $\phi_{2}$ & $\phi_{3}$ & $\theta_{1}$ \\   
        \hline
        AR(1)   & 6.5397    & 0.8988 &- &- & - \\
        AR(3) & 6.2932  & 0.7257    & -0.0099   & 0.2162 &- \\
        ARMA(1,1) & 6.0340  & 0.9741    & -&    -   & -0.4991 \\
        \hline
    \end{tabular}
    \caption{Model coefficients of the Daily Component Models}
    \label{tab:daily_model_coefficients}
\end{table}

\end{document}

使用 ShareLaTeX 生成如下结果:

表格示例

相关内容