What is a 'Z-Test'

A z-test is a statistical test used to determine whether two population means are different when the variances are known and the sample size is large. The test statistic is assumed to have a normal distribution, and nuisance parameters such as standard deviation should be known in order for an accurate z-test to be performed.

BREAKING DOWN 'Z-Test'

A one-sample location test, two-sample location test, paired difference test and maximum likelihood estimate are examples of tests that can be conducted as z-tests. Z-tests are closely related to t-tests, but t-tests are best performed when an experiment has a small sample size. Also, t-tests assume the standard deviation is unknown, while z-tests assume it is known. If the standard deviation of the population is unknown, the assumption of the sample variance equaling the population variance is made.

Hypothesis Test

The z-test is also a hypothesis test in which the z-statistic follows a normal distribution. The z-test is best used for greater than 30 samples because, under the central limit theorem, as the number of samples gets larger, the samples are considered to be approximately normally distributed. When conducting a z-test, the null and alternative hypotheses, alpha and z-score should be stated. Next, the test statistic should be calculated, and the results and conclusion stated.

One-Sample Z-Test Example

For example, assume an investor wishes to test whether the average daily return of a stock is greater than 1%. A simple random sample of 50 returns is calculated and has an average of 2%. Assume the standard deviation of the returns is 2.50%. Therefore, the null hypothesis is when the average, or mean, is equal to 3%. Conversely, the alternative hypothesis is whether the mean return is greater than 3%. Assume an alpha of 0.05% is selected with a two-tailed test. Consequently, there is 0.025% of the samples in each tail, and the alpha has a critical value of 1.96 or -1.96. If the value of z is greater than 1.96 or less than -1.96, the null hypothesis is rejected.

The value for z is calculated by subtracting the value of the average daily return selected for the test, or 1% in this case, from the observed average of the samples. Next, divide the resulting value by the standard deviation divided by the square root of the number of observed values. Therefore, the test statistic is calculated to be 2.83, or (0.02 - 0.01) / (0.025 / (50)^(1/2)). The investor rejects the null hypothesis since z is greater than 1.96, and concludes that the average daily return is greater than 1%.

RELATED TERMS
  1. Hypothesis Testing

    A process by which an analyst tests a statistical hypothesis. ...
  2. Sampling Distribution

    A sampling distribution is a probability distribution of a statistic ...
  3. Representative Sample

    A representative sample is a subset of a statistical population ...
  4. Beta Risk

    Beta risk is the probability that a false null hypothesis will ...
  5. P-Value

    The level of marginal significance within a statistical hypothesis ...
  6. Standard Error

    Standard error is the standard deviation of a sample population.
Related Articles
  1. Investing

    Hypothesis testing in finance: Concept and examples

    When you're indecisive about an investment, the best way to keep a cool head might be test various hypotheses using the most relevant statistics.
  2. Investing

    Using Historical Volatility To Gauge Future Risk

    Use these calculations to uncover the risk involved in your investments.
  3. Investing

    The Uses And Limits Of Volatility

    Check out how the assumptions of theoretical risk models compare to actual market performance.
  4. Trading

    Exploring the Exponentially Weighted Moving Average

    Learn how to calculate a metric that improves on simple variance.
  5. Investing

    5 ways to measure mutual fund risk

    Statistical measures such as alpha and beta can help investors understand investment risk on mutual funds and how it relates to returns.
  6. Investing

    PRHSX: Risk Statistics of Health Sciences Mutual Fund

    Examine the risk metric of the T. Rowe Price Health Sciences Fund. Analyze beta, capture ratios and standard deviation to assess volatility and systematic risk.
  7. Trading

    How To Convert Value At Risk To Different Time Periods

    Volatility is not the only way to measure risk. Learn about the "new science of risk management".
  8. Investing

    Understanding Quantitative Analysis Of Hedge Funds

    Analyzing hedge fund performance quantitatively requires metrics such as absolute and relative returns, risk measurement, and benchmark performance ratios.
  9. Personal Finance

    Top 20 Countries With the Highest GMAT Scores

    A total of 42 countries had higher average scores than the U.S. in the last testing year.
RELATED FAQS
  1. When is it better to use systematic over simple random sampling?

    Learn when systematic sampling is better than simple random sampling, such as in the absence of data patterns and when there ... Read Answer >>
  2. What are the advantages of using a simple random sample to study a larger population?

    Learn how simple random sampling works and what advantages it offers over other sampling methods when selecting a research ... Read Answer >>
  3. How do I calculate the standard error using Matlab?

    Learn how to calculate the standard error for a sample statistical measure, such as the sample mean, using standard Matlab ... Read Answer >>
  4. What are the disadvantages of using a simple random sample to approximate a larger ...

    Learn here what a simple random sample is, how researchers use it as a statistical tool and the disadvantages it carries ... Read Answer >>
  5. What's an example of stratified random sampling?

    Stratified random sampling divides a population into subgroups or strata, whereby the members in each of the stratum formed ... Read Answer >>
  6. What is a relative standard error?

    Find out how to distinguish between mean, standard deviation, standard error and relative standard error in statistical survey ... Read Answer >>
Trading Center