
次のコードを含むドキュメントをコンパイルすると、PDF では満足のいく出力が生成されますが、エラーが発生します。
43
Missing { inserted.
<to be read again>
\gdef
l.43 \item $\mu_\hat{p}
$ = mean of all possible values of $\hat{p} = \pi$. \\
\begin{itemize}
\item $\mu_\hat{p}$ = mean of all possible values of $\hat{p} = \pi$. \\
\item $\sigma_\hat{p}$ = standard deviation of all possible values of \^p = $\sqrt{\frac{\pi(1-\pi)}{n}}$ \\
\item CLT (for \^p): If $n\pi \geq 10$ \underline{AND} $n(1-\pi) \geq to$, then the histogram of all possible values of \^p will be approximately normal. \\
\end{itemize}
何を間違えたのでしょうか?
答え1
下付き文字には中括弧が必要です\mu_{\hat{p}}
。\sigma_{\hat{p}}
\documentclass{article}
\usepackage{amssymb}
\begin{document}
\begin{itemize}
\item $\mu_{\hat{p}}$ is the mean of all possible values of $\hat{p} = \pi$.
\item $\sigma_{\hat{p}}$ represents the standard deviation of all possible values of $\hat{p} = \sqrt{\frac{\pi(1-\pi)}{n}}$
\item CLT (for $\hat{p}$): If $n\pi \geq 10$ \underline{AND} $n(1-\pi) \geq to$, then the histogram of all possible values of $\hat{p}$ will be approximately normal.
\end{itemize}
\end{document}
また、一貫性を保つためにテキストを\^p
数式に変更し\hat{p}
、\\
それぞれの末尾のを削除しました\item
(これらは undefull を生成します\hboxes
)。 代わりに、$n(1-\pi) \geq to$
のようなものを意味していたのでしょうか$n(1-\pi) \geq t_{0}$
?
下線を引くのは印刷上あまり良い機能ではないので、下線を引かないようにすることもお勧めします。