Math & Science ⇒ Hypothesis Testing Symbol
Hypothesis Testing Symbol
how do we generate the math expression given in the attachment?
Thanks in advance,
Bhupala.
- Attachments
-
- DC.png (1.06 KiB) Viewed 22236 times
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: Hypothesis Testing Symbol
Follow howtoTeX on twitter
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Hypothesis Testing Symbol
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Hypothesis Testing Symbol
thanks for the help. But still I couldn't make out how to add the 1_D and 0_D properly as shown in the figure. Can anyone give the complete code that gives the output as shown in the figure?
thanks in advance,
Bhupala.
Hypothesis Testing Symbol
Code: Select all
\documentclass[]{article}
\usepackage{amsmath,amssymb}
\begin{document}
\begin{align*}
&1_{D} \\[-5pt]
&\gtreqless \\[-5pt]
&0_{D}
\end{align*}
\end{document}
Follow howtoTeX on twitter
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: Hypothesis Testing Symbol
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Hypothesis Testing Symbol
sorry for wasting you time. This is what finally I wanted.
Thanks,
Bhupala
- Attachments
-
- DigCom.png (5.66 KiB) Viewed 22161 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Hypothesis Testing Symbol
Code: Select all
\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{mathtools} % loads »amsmath«
\usepackage{amssymb}
\begin{document}
\[
(r_1-1)^2+(r_2-\tfrac{1}{2})^2\quad\mathop{\gtreqless}_{0_D}^{1_D}\quad(r_1+1)^2+(r_2-1)^2+\ln\left(\frac{P_1}{P_2}\right)
\]
\end{document}
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Hypothesis Testing Symbol
I saw this post when I was searching for a way to write the symbol for binary hypothesis testing problem. I found a solution and I wanted to share with you

Here is a simple example:
Code: Select all
\documentclass[]{article}
\usepackage{amsmath,amssymb}
\begin{document}
\[
\underset{H_0}{\overset{H_1}{\gtrless}}
\]
\end{document}
Hope this can be helpful!
Mohamed
- Attachments
-
- hyp_tst.pdf
- (34.03 KiB) Downloaded 814 times