缺少插入的 $,有什么想法吗?

缺少插入的 $,有什么想法吗?

我盯着屏幕看了好几个小时,试图理解这个错误。我不明白为什么它会给我一个错误消息。很可能是我盯着屏幕看得太久了,没看到它,但这是代码:

Then clearly $P((q_a < {\theta} < q_b)|y) = 1 – {\alpha}$; so
our confidence that ${\theta}$ lies in $(q_a, q_b)$ is simply
$100 {\times} (1-{\alpha})%$. This interval is a $100 {\times}
(1-{\alpha})%$ credible set (or simply Bayesian confidence
interval) for ${\theta}$. This interval is relatively
straightforward to calculate and has a direct interpretation
that the frequentist interval does not. This interval is
sometimes called the equal tail credible set for the simple
reason that it is obtained by removing an equal amount of
support $(\frac{{\alpha}}{2})$ off both sides of
$p({\theta}|y)$. Note that for symmetric unimodal posteriors,
this equal tail interval will be symmetric about this mode

如果有人能找出错误所在,我将不胜感激。编译器说错误出现在“此间隔......”这一行,但我看不出问题所在

答案1

这里:

$100 {\times} (1-{\alpha})%$. This interval is a $100 {\times}
(1-{\alpha})%$ 

然后下一个$就放错了位置。

相关内容