Таблицы в определенных местах

Таблицы в определенных местах

Я пытаюсь поместить таблицы в определенные места в моем тексте. Мой руководитель сказал, что я могу поместить таблицы в какие-то уравнения, чтобы они больше не были числами с плавающей точкой, однако я не совсем уверен, что он имел в виду. Например, часть моего кода выглядит следующим образом.

    \begin{table}[H]
\begin{center}
\caption{\label{tab:IPF1} The observed number of counts of the infant survival data}
\begin{tabular}{@{} llcc @{}}
\toprule
& & \multicolumn{2}{c}{Survival}\\ 
\cmidrule{3-4}
Clinic & Care & No & Yes  \\
\midrule
A & Less & 3& 176  \\ 
&More & 4 & 293  \\ \addlinespace
B & Less & 17 & 197 \\ 
& More & 2 & 23 \\ 
\bottomrule
\end{tabular} 

\end{center}
\end{table}


Tables \ref{marginalcountcs1} and \ref{marginalcountca1} are the marginal counts of the cliques $[CS]$ and $[CA]$ respectively.

\begin{table}
    \begin{minipage}{.5\linewidth}
      \centering
            \caption{Marginal count of clique $[CS]$}
             \label{marginalcountcs1}
            \begin{tabular}{@{} lcc @{}}
                \toprule
                & \multicolumn{2}{c}{Survival}\\ 
                Clinic  & No & Yes  \\
                \midrule
                A & 7& 469  \\ 
                B & 19 & 220 \\
                \bottomrule

            \end{tabular} 
    \end{minipage}%
    \begin{minipage}{.5\linewidth}
      \centering
        \caption{Marginal count of clique $[CA]$} 
        \label{marginalcountca1}
        \begin{tabular}{@{} lcc @{}}
                \toprule
                & \multicolumn{2}{c}{Care}\\ 
                \cmidrule{2-3}
                Clinic  & Less & More \\
                \midrule
                A & 179 & 297  \\ 
                B & 214 & 25 \\
                \bottomrule

            \end{tabular} 
    \end{minipage} 
\end{table}

Now, the first step of the algorithm is setting the ML estimates to 1 for all the cells in the contingency table. This can be seen in Table \ref{tab:IPF1}.enter code here

Однако в конечном итоге таблицы группируются следующим образом. введите описание изображения здесь

Я пробовал использовать многочисленные буквы, такие как [h], [ht], [b] после \begin{table}, но это не сработало.

Связанный контент