GeneralNull Hyothesis

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
sbinsaleem
Posts: 1
Joined: Wed Aug 07, 2013 1:27 pm

Null Hyothesis

Post by sbinsaleem »

Hi,

I am trying to write the null hypothesis in the same way, we write the hypothesis using the the \newtheorem{hypothesis}{Hypothesis} micro. The following is an example of hypothesis. Can anybody please let me know how I can renew this command or any micro to have a null hypothesis?

Input :

Code: Select all

\begin{hypothesis}
X is greater than Y
\end{hypothesis}
Output :
Hypothesis 1 X is greater than Y

The required output is
Null Hypothesis 1 ....

Best wishes,
Saad
Last edited by cgnieder on Wed Aug 07, 2013 6:48 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

tom
Posts: 73
Joined: Thu Apr 18, 2013 4:02 am

Null Hyothesis

Post by tom »

How about this:

Code: Select all

\documentclass{article}
\newtheorem{hypothesis}{Hypothesis}
\newtheorem{nullhypothesis}{Null Hypothesis}

\begin{document}
\begin{hypothesis}X is greater than Y\end{hypothesis}
\begin{nullhypothesis}X is greater than Y\end{nullhypothesis}
\end{document}
Cheers, Tom
Post Reply