對錶格的引用中存在問號?

對錶格的引用中存在問號?

我有這段程式碼,當我編譯(甚至多次)時,一些問號出現在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 上),您需要讓文件編譯無錯誤。您會注意到,在您的範例中,您以 a 開頭figure但以 a 結尾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 產生此結果:

表示例

相關內容