\documentclass{article}
\usepackage{amsmath}
\begin{document}
$$\hat{\alpha_1}=\dfrac{\sum_{i=1}^{n}w_i\cos(y_i-\beta_i\hat{X_i})}{\sum_{i=1}^{n}w_i}$$
$$\rightarrow\dfrac{1}{(2\pi)^n} \left[\dfrac{1}{I_0(\lambda\rho)}\right]^n \exp \sum_{i=1}^{n}\lambda \rho \cos(x_i -X_i)\dfrac{1}{\prod_{i=1}^{n}(c-\eta_1 \cos(y_i-\beta_i X_i)-\eta_2\sin(y_i-\beta_i X_i))}$$
\end{document}
答案1
您应该使用\limits
将索引放置在总和与乘积符号的正下方和正上方。(如果这是您的问题)
$$...$$
您应该使用\[...\]
,而不是为什么 \[ ... \] 比 $$ ... $$ 更可取?
另外,我将\hat{\alpha_1}
其改为\hat{\alpha}_1
,那么hat
将仅放置在上方\alpha
。
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[\hat{\alpha}_1=\dfrac{\sum\limits_{i=1}^{n}w_i\cos(y_i-\beta_i\hat{X}_i)}{\sum\limits_{i=1}^{n}w_i}\]
\[\rightarrow\dfrac{1}{(2\pi)^n} \left[\dfrac{1}{I_0(\lambda\rho)}\right]^n \exp \sum\limits_{i=1}^{n}\lambda \rho \cos(x_i -X_i)\dfrac{1}{\prod\limits_{i=1}^{n}(c-\eta_1 \cos(y_i-\beta_i X_i)-\eta_2\sin(y_i-\beta_i X_i))}\]
\end{document}