EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Free Courses
  • Certification Courses
  • 250+ Courses All in One Bundle
  • Login

Hypothesis Testing Formula

By Madhuri ThakurMadhuri Thakur

Home » Finance » Blog » Finance Formula » Hypothesis Testing Formula

Hypothesis Testing Formula

Hypothesis Testing Formula (Table of Contents)

  • Formula
  • Examples
  • Calculator

What is the Hypothesis Testing Formula?

Before we deep dive into hypothesis testing, we need to understand what is hypothesis at first place. In a very simple language, a hypothesis is basically an educated and informed guess about anything around you, which can be tested by experiment or simply by observation. For example, A new variant of mobile will be accepted by people or not, new medicine might work or not, etc. So hypothesis test is a statistical tool for testing that hypothesis which we will make and if that statement is meaning full or not. Basically, we select a sample from the data set and test a hypothesis statement by determining the likelihood that a sample statistics. So If your results from that test are not significant, it means that the hypothesis is not valid.

Start Your Free Investment Banking Course

Download Corporate Valuation, Investment Banking, Accounting, CFA Calculator & others

Formula For Hypothesis Testing:

Hypothesis testing is given by the z test. The formula for Z – Test is given as:

Z = (X – U) / (SD / √n)

Where:

  • X – Sample Mean
  • U – Population Mean
  • SD – Standard Deviation
  • n – Sample size

But this is not so simple as it seems. To correctly perform the hypothesis test, you need to follow certain steps:

Step 1: First and foremost thing to perform a hypothesis test is that we have to define the null hypothesis and alternative hypothesis. Example of the null and alternate hypothesis is given by:

  • H0 (null hypothesis): Mean value > 0
  • For this, Alternate Hypothesis (Ha): Mean < 0

Step 2: Next thing we have to do is that we need to find out the level of significance. Generally, its value is 0.05 or 0.01

Step 3: Find the z test value also called test statistic as stated in the above formula.

Popular Course in this category
Sale
All in One Financial Analyst Bundle - 250+ Courses, 40+ Projects250+ Online Courses | 1000+ Hours | Verifiable Certificates | Lifetime Access
4.9 (3,296 ratings)
Course Price

View Course

Related Courses
Finance for Non Finance Managers Course (7 Courses)Investment Banking Course (123 Courses, 25+ Projects)Financial Modeling Course (5 Courses, 14 Projects)

Step 4: Also, find the z score from z table given the level of significance and mean.

Step 5: Compare these two values and if test statistic greater than z score, reject the null hypothesis. In case test statistic is less than z score, you cannot reject the null hypothesis.

Examples of Hypothesis Testing Formula (With Excel Template)

Let’s take an example to understand the calculation of Hypothesis Testing formula in a better manner.

You can download this Hypothesis Testing Formula Excel Template here – Hypothesis Testing Formula Excel Template

Hypothesis Testing Formula – Example #1

Suppose you have been given the following parameters and you have to find the Z value and state if you accept the null hypothesis or not:

Solution:

Null hypothesis H0: Population Mean = 30

Alternate hypothesis Ha: Population Mean ≠ 30

Hypothesis Testing Formula Example 1-1

Z – Test is calculated using the formula given below

Z = (X – U) / (SD / √n)

Hypothesis Testing Formula Example 1-2

  • Z – Test = ( 27 – 30 ) / (20 / SQRT(10))
  • Z – Test = -0.474

Level of significance = 0.05

This is a Two tail test, so the probability lies on both side of the distribution. So 0.025 each side and we will look at this value on the z table.

Z table:

Z Score Table 1

Source: http://www.z-table.com/

Since the level of significance is 0.025 each side, we need to find 0.025 in the z table. Once we find that value from the table, we need to extract z value.

If you see here, on the left side the values of z are given and in the top row, decimal places are given. So from that, we can say that 0.025 will give z value of -1.96

So Z – Score = -1.96

Since the Z Test > Z Score, we can reject the null hypothesis.

Hypothesis Testing Formula – Example #2

Let’s say you are a principal of a school you are claiming that the students in your school are above average intelligence. An analyst wants to double check your claim and use hypothesis testing. He measures the IQ of all the students in the school and then takes a sample of 20 students. Following is the data points:

Data Set:

Example 2-1

Hypothesis Testing Formula Example 2-2

Z – Test is calculated using the formula given below

Z = (X – U) / (SD / √n)

Hypothesis Testing Formula Example 2-3

  • Z – Test = (112 – 110)/ (15 / SQRT(20))
  • Z – Test = 3.58

Null Hypothesis : Since population mean = 100,

  • H0 : Mean = 100
  • Ha: Mean > 100

Level of Significance = 0.05

Since the level of significance is 0.05, we need to find 1 – 0.05 =0.95 in the z table. Once we find that value from the table, we need to extract z value.

Z – Table:

Z Score Table 1

Source: http://www.z-table.com/

If you see here, on the left side the values of z are given and in the top row, decimal places are given. So from that, we can say that 0.95 lies between 1.64 to 1.65, mid-point in 1.645.

So Z Score = 1.645

Since the Z Test > Z Score, we can reject the null hypothesis and can say that students intelligence is above average.

Explanation

One thing everyone should keep in mind that No hypothesis test is 100% correct and there is always a chance of making an error. There is 2 type of errors which can arise in hypothesis testing: type I and type II.

Type 1: When the null hypothesis is true but it is rejected in the model. The probability of this is given by the level of significance. So if the level of significance is 0.05, there is a 5% chance that you will reject the null which is true.

Type 2: When the null hypothesis is not true but it is not rejected in the model. The probability of this is given the power of the test. This probability of occurrence of this type of error can be reduced by having sample which is large enough to give us confidence about the model.

Relevance and Uses of Hypothesis Testing Formula

As discussed above, the hypothesis test helps the analyst in testing the statistical sample and at the end will either accept or reject the null hypothesis. So the test helps in understanding the hypothesis formed is true or not and if not then the new hypothesis can be formed and tested again. There are steps for any hypothesis test. The first step is to state the hypothesis, both the null and alternate hypothesis. The next step is to determine all the relevant parameters like mean, standard deviation, level of significance, etc. which helps in determining the z test value. The third step determines the z score from the z table and for this step, we need to see is it two tail or single tail test and accordingly extract z score. The fourth and final step is to compare the results and then based on that either accept or reject the null hypothesis.

Hypothesis Testing Formula Calculator

You can use the following Hypothesis Testing Calculator

X
U
SD
√n
Z
 

Z =
X − U
=
SD/√n
0-0
= 0
0/√0

Recommended Articles

This has been a guide to Hypothesis Testing Formula. Here we discuss how to calculate Hypothesis Testing along with practical examples. We also provide Hypothesis Testing calculator with downloadable excel template. You may also look at the following articles to learn more –

  1. Examples of T Distribution Formula
  2. Calculator For Consumer Surplus Formula
  3. How To Calculate Equity Multiplier Formula
  4. Guide To Net Realizable Value Formula
  5. Altman Z Score (With Excel Template)

All in One Financial Analyst Bundle (250+ Courses, 40+ Projects)

250+ Online Courses

1000+ Hours

Verifiable Certificates

Lifetime Access

Learn More

0 Shares
Share
Tweet
Share
Primary Sidebar
Finance Blog
  • Finance Formula
    • Fixed Asset Turnover Ratio Formula
    • Deferred Annuity Formula
    • Capital Investment Formula
    • Ratio Analysis Formula
    • Loss Ratio Formula
    • Benefit-Cost Ratio Formula
    • Probability Distribution Formula
    • Cash Conversion Cycle Formula
    • Accrued Income
    • DCF Excel summary
    • Price to Earning Ratio Formula
    • Current Yield of Bond Formula
    • Earnings Per Share Formula
    • Manufacturing Overhead Formula
    • FCFF Formula
    • Predetermined Overhead Rate Formula
    • Times Interest Earned Ratio Formula
    • Bank Efficiency Ratio Formula
    • Capital Expenditure Formula
    • Expense Ratio Formula
    • WACC Formula
    • Activity Ratio Formula
    • Standard Error Formula
    • Forward Rate Formula
    • Gearing Formula
    • Prime Cost Formula
    • Productivity Formula
    • t-Test Formula
    • Risk Free Rate Formula
    • Tax Shield Formula
    • Sortino Ratio
    • Reserve Ratio Formula
    • Bond Formula
    • Annualized Rate of Return Formula
    • Conditional Probability Formula
    • Financing Formula
    • Future Value of an Annuity Formula
    • For Profit vs Non Profit
    • Deadweight Loss Formula
    • Inflation Formula
    • Amortized Loan Formula
    • Horizontal Analysis Formula
    • Marginal Utility Formula
    • Kurtosis Formula
    • Macaulay Duration Formula
    • Multiplier Formula
    • Modified Duration Formula
    • Operating Leverage Formula
    • Payout Ratio Formula
    • Statistics Formula
    • Sampling Error Formula
    • Trend Analysis Formula
    • Taylor Rule Formula
    • Put Call Parity Formula
    • Annual Return Formula
    • Discount Rate Formula
    • Cash Flow Formula
    • Dilution Formula
    • Attrition Formula
    • Operating Expense Formula
    • Interpolation Formula
    • Annuity Due Formula
    • Bond Yield Formula
    • Turnover Ratio Formula
    • Efficiency Formula
    • Revenue Per Employee
    • Regression Line Formula
    • Yield to Maturity
    • Pearson Correlation Coefficient Formula
    • Accounting Formula
    • Fiscal Deficit Formula
    • Tax Multiplier Formula
    • Efficiency Ratio Formula
    • Demand Elasticity Formula
    • Gross Margin Formula
    • Elasticity Formula
    • Marginal Benefit Formula
    • Depreciation Formula
    • Cost-Benefit Analysis Formula
    • Percentage Change Formula
    • Levered Beta Formula
    • Shares Outstanding Formula
    • Capital Gain Formula
    • Convexity Formula
    • Gross Income Formula
    • Net Exports Formula
    • Producer Surplus Formula
    • Accounting Rate of Return Formula
    • Net Cash Flow Formula
    • Labor Force Participation Rate Formula
    • Moving Average Formula
    • Net Worth Formula
    • Accounting Profit Formula
    • Disposable Income Formula
    • Discount Formula
    • Average Variable Cost Formula
    • Total Variable Cost Formula
    • Product Cost Formula
    • Marginal Product Formula
    • Break-Even Sales Formula
    • Return on Sales Formula
    • Cost of Goods Manufactured Formula
    • Average Fixed Cost Formula
    • Stock Turnover Ratio Formula
    • Operating Ratio Formula
    • Equity Ratio Formula
    • Net Present Value Formula
    • Aggregate Demand Formula
    • Volatility Formula
    • Marginal Product of Labor Formula
    • Z Test Statistics Formula
    • Standard Cost Formula
    • Velocity of Money Formula
    • Invested Capital Formula
    • Unlevered Beta Formula
    • Bank Reconciliation Formula
    • Portfolio Return Formula
    • Central Tendency Formula
    • Accumulated Depreciation Formula
    • Intrinsic Value Formula
    • Decile Formula
    • Vector Cross Product Formula
    • Effective Annual Rate Formula
    • CAGR Formula
    • Mode Formula
    • Arithmetic Mean Formula
    • Real GDP Formula
    • Gini Coefficient Formula
    • Expected Value Formula
    • Price Elasticity of Supply Formula
    • Net Operating Income Formula
    • Profit Percentage Formula
    • GDP Per Capita Formula
    • Altman Z Score
    • Quartile Deviation Formula
    • Return on Capital Employed Formula
    • Consumer Price Index Formula
    • Economic Profit Formula
    • Market Share Formula
    • Real Interest Rate Formula
    • Income Elasticity of Demand Formula
    • Income From Operations Formula
    • Indexation Formula
    • Sales Formula
    • Money Multiplier Formula
    • GDP Deflator Formula
    • Residual Income Formula
    • Effective Interest Rate Formula
    • Coupon Bond Formula
    • Current Account Formula
    • Total Cost Formula
    • Total Expense Ratio Formula
    • Net Sales Formula
    • Percentage Decrease Formula
    • Uncertainty Formula
    • Nominal GDP Formula
    • Effect Size Formula
    • Delta Formula
    • Cost of Sales Formula
    • Fixed Cost Formula
    • Unemployment Rate Formula
    • Present Value of Annuity Formula
    • Compounding Formula
    • Geometric Distribution Formula
    • National Income Formula
    • Accounts Receivables Turnover Formula
    • Integer Formula
    • Ending Inventory Formula
    • Owner's Equity Formula
    • Capacity Utilization Rate Formula
    • Interest Formula
    • Nominal Interest Rate Formula
    • Risk Premium Formula
    • Interest Coverage Ratio Formula
    • Gross Profit Margin Formula
    • Diluted EPS Formula
    • Return On Average Equity Formula
    • Return on Average Assets Formula
    • Working Capital Formula
    • Revenue Per Employee Ratio Formula
    • Capital Employed Formula
    • Rule of 72 Formula
    • Inventory Turnover Ratio Formula
    • Preferred Dividend Formula
    • Retention Ratio Formula
    • Present Value Factor Formula
    • Equity Multiplier Formula
    • Continuous Compounding Formula
    • Return on Assets (ROA) Formula
    • Portfolio Variance Formula
    • Weighted Average Formula
    • Net Working Capital Formula
    • Tax Equivalent Yield Formula
    • Poisson Distribution Formula
    • Current Ratio Formula
    • Debt Ratio Formula
    • Quick Ratio Formula
    • Payback Period Formula
    • Marginal Cost Formula
    • Debt to Income Ratio Formula
    • Book Value Per Share Formula
    • Asset Turnover Ratio Formula
    • Perpetuity Formula
    • Bid-Ask Spread Formula
    • Price to Book Value Formula
    • Capital Gains Yield Formula
    • Net Profit Margin Formula
    • DuPont Formula
    • Bond Pricing Formula
    • Binomial Distribution Formula
    • Sustainable Growth Rate Formula
    • Average Collection Period Formula
    • Net Income Formula
    • CAPM Formula
    • Cost of Goods Sold Formula
    • Economic Order Quantity (EOQ) Formula
    • Amortization Formula
    • Enterprise Value Formula
    • Beta Formula
    • Cost of Equity Formula
    • Rate of Return Formula
    • Revenue Formula
    • Markup Price Formula
    • Cash Flow from Operations Formula
    • Simple Interest Rate Formula
    • Consumer Surplus Formula
    • Asset to Sales Ratio Formula
    • Debt Service Coverage Ratio Formula
    • Capitalization Rate Formula
    • Cost of Debt Formula
    • Straight Line Depreciation Formula
    • Variable Costing Formula
    • Return on Invested Capital Formula
    • Profitability Index Formula
    • Expected Return Formula
    • Cost of Capital Formula
    • Price Index Formula
    • Average Total Cost Formula
    • Discount Factor Formula
    • Price Elasticity Formula
    • Profitability Ratios Formula
    • Financial Leverage Formula
    • Contribution Margin Formula
    • Time Value of Money Formula
    • Balance Sheet Formula
    • Opportunity Cost Formula
    • Current Assets Formula
    • Operating Cycle Formula
    • Operating Margin Formula
    • Bond Equivalent Yield Formula
    • Marginal Revenue Formula
    • Sales Revenue Formula
    • Net Debt Formula
    • Times Interest Earned Formula
    • Gordon Growth Model Formula
    • Required Rate of Return Formula
    • Break Even Analysis Formula
    • Inventory Formula
    • Marginal Propensity to Consume Formula
    • Debt to Asset Ratio Formula
    • Solvency Ratio Formula
    • Interest Expense Formula
    • Leverage Ratio Formula
    • Dividend Payout Ratio Formula
    • Operating Profit Margin Formula
    • PEG Ratio Formula
    • Net Interest Margin Formula
    • Return on Equity (ROE) Formula
    • Overhead Ratio Formula
    • Future Value Formula
    • Days in Inventory Formula
    • Market Capitalization Formula
    • Sharpe Ratio Formula
    • Cash Ratio Formula
    • Retained Earnings Formula
    • Average Rate of Return Formula
    • Current Liabilities Formula
    • Equity Value Formula
    • Relative Risk Reduction Formula
    • Capital Adequacy Ratio Formula
    • Debtor Days Formula
    • DPMO Formula
    • Average Formula
    • Exponential Growth Formula
    • Net Realizable Value Formula
    • Range Formula
    • Shareholders' Equity Formula
    • Sinking Fund Formula
    • Doubling Time Formula
    • Salvage Value Formula
    • Coupon Rate Formula
    • Simple Interest Formula
    • Correlation Formula
    • R - Squared Formula
    • MTBF Formula
    • Change in Net Working Capital Formula
    • Midrange Formula
    • Normal Distribution Formula
    • Mean Formula
    • Population Mean Formula
    • Median Formula
    • Central Limit Theorem Formula
    • Free Cash Flow Formula
    • Stockholder's Equity Formula
    • Acid-Test Ratio Formula
    • Percentile Rank Formula
    • Purchasing Power Parity Formula
    • Harmonic Mean Formula
    • Relative Standard Deviation Formula
    • T Distribution Formula
    • Normalization Formula
    • Operating Income Formula
    • Markup Percentage Formula
    • Relative Change Formula
    • Maturity Value Formula
    • Salary Formula
    • High Low Method
    • Income Statement Formula
    • Market to Book Ratio Formula
    • Dividends Per Share Formula
    • Daily Compound Interest Formula
    • Working Capital Turnover Ratio Formula
    • Weighted Mean Formula
    • Compounded Annual Growth Rate Formula
    • Regression Formula
    • Margin of Error Formula
    • Hypergeometric Distribution Formula
    • Standard Normal Distribution Formula
    • NOPAT Formula
    • Effective Tax Rate Formula
    • Degree of Operating Leverage Formula
    • Outliers Formula
    • Information Ratio Formula
    • Percent Error Formula
    • Hypothesis Testing Formula
    • Activity Based Costing Formula
    • Coverage Ratio Formula
    • Market Risk Premium Formula
    • Degree of Financial Leverage Formula
    • Absorption Costing Formula
    • Future Value of Annuity Due Formula
    • Internal Growth Rate Formula
    • F-Test Formula
    • Covariance Formula
    • Population Variance Formula
    • Coefficient of Determination Formula
    • Adjusted R Squared Formula
    • Compound Interest Formula
    • Gross Profit Formula
    • Accounting Equation Formula
    • Sample Size Formula
    • Sample Standard Deviation Formula
    • Quartile Formula
    • Variance Analysis Formula
    • Correlation Coefficient Formula
    • Z Score Formula
    • Variance Formula
    • Present Value Formula
    • Coefficient of Variation Formula
    • Net Asset Value Formula
    • Profit Margin Formula
    • Holding Period Return Formula
    • Capital Asset Pricing Model Formula
    • Present Value of Annuity Due Formula
    • Depreciation Expenses Formula
    • Annuity Formula
    • Taxable Income Formula
    • Profit Formula
    • Monthly Compound Interest Formula
    • Equity Formula
    • Return on Total Assets Formula
    • Alpha Formula
    • Debt to Equity Ratio Formula
    • EBITDA Formula
    • Accrued Interest Formula
    • Dividend Formula
    • Common Stock Formula
    • Mortgage Formula
    • Growth Rate Formula
    • Absolute Value Formula
  • Accounting fundamentals (614+)
  • Asset Management Tutorial (181+)
  • Banking (43+)
  • Corporate Finance Basics (248+)
  • Credit Research Fundamentals (6+)
  • Economics (44+)
  • Financial Modeling in Excel (13+)
  • Investment Banking Basics (114+)
  • Investment Banking Careers (26+)
  • Trading for dummies (67+)
  • valuation basics (27+)
Finance Blog Courses
  • Finance for Non Finance Managers Training Course
  • Investment Banking Online Course
  • Financial Modeling Certification
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Investment Banking Jobs Offer
  • Finance Formula
  • All Tutorials
Certification Courses
  • All Courses
  • Financial Analyst All in One Bundle
  • Investment Banking Training
  • Financial Modeling Course
  • Equity Research Course
  • Private Equity Training Course
  • Business Valuation Course
  • Mergers and Acquisitions Course

© 2022 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA
Free Investment Banking Course

Corporate Valuation, Investment Banking, Accounting, CFA Calculator & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA
Free Investment Banking Course

Corporate Valuation, Investment Banking, Accounting, CFA Calculator & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more

EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

EDUCBA

Download Hypothesis Testing Formula Excel Template

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

Special Offer - All in One Financial Analyst Bundle (250+ Courses, 40+ Projects) Learn More