
Всякий раз, когда я компилирую свой документ, включающий следующий код, он выдает удовлетворительный вывод в формате 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$
you имелось в виду что-то вроде $n(1-\pi) \geq t_{0}$
?
Подчеркивание — не очень удачный типографский прием, поэтому я бы посоветовал вам его убрать.