答案1
不确定为什么有人会在这里“挣扎”:所有人要做的就是使用嵌套enumerate
环境。不需要特殊的包。对于数学内容,请务必使用内联数学模式,而不是某些显示数学环境。
\documentclass{article}
\begin{document}
\noindent
\dots\ $\hat{\theta}$ is obtained as follows. % end of prior sentence
\begin{enumerate}
\item For each bootstrap replicate, indexed $b=1,\dots,B$:
\begin{enumerate}
\item Generate sample $x^{*(b)} = x^{*}_1, \dots, x^{*}_n$ by sampling \dots
\item Compute the $b$\textsuperscript{th} replicate \dots
\end{enumerate}
\item The bootstrap estimate of $F_{\hat{\theta}}(\cdot)$ is the \dots
\end{enumerate}
The bootstrap is applied to \dots % start of paragraph that follows the enumeration
\end{document}