What is a 'ZTest'
A ztest 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 ztest to be performed.
BREAKING DOWN 'ZTest'
A onesample location test, twosample location test, paired difference test and maximum likelihood estimate are examples of tests that can be conducted as ztests. Ztests are closely related to ttests, but ttests are best performed when an experiment has a small sample size. Also, ttests assume the standard deviation is unknown, while ztests 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 ztest is also a hypothesis test in which the zstatistic follows a normal distribution. The ztest 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 ztest, the null and alternative hypotheses, alpha and zscore should be stated. Next, the test statistic should be calculated, and the results and conclusion stated.
OneSample ZTest 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 twotailed 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%.

Alpha Risk
Alpha risk is the risk in a statistical test of rejecting a null ... 
TTest
A ttest is an analysis framework used to determine the difference ... 
Hypothesis Testing
A process by which an analyst tests a statistical hypothesis. ... 
OneTailed Test
A onetailed test is a statistical test in which the critical ... 
Null Hypothesis
A null hypothesis is a type of hypothesis used in statistics ... 
Sampling Distribution
A sampling distribution is a probability distribution of a statistic ...

Investing
How to Use Stratified Random Sampling
Stratified random sampling is a technique best used with a sample population easily broken into distinct subgroups. Samples are then taken from each subgroup based on the ratio of the subgroupâ€™s ... 
Personal Finance
Birch Box Review: Is It Worth It?
Learn more about the subscription beauty box industry, and discover why the Birchbox company, in particular, has become so popular. 
Investing
Why Standard Deviation Should Matter to Investors
Think of standard deviation as a thermometer for risk, or better yet, anxiety. 
Investing
Calculating volatility: A simplified approach
Though most investors use standard deviation to determine volatility, there's an easier and more accurate way of doing it: the historical method. 
Personal Finance
Jump Start Your Financial Career With The BAT
The BAT is quickly becoming known in the job market as a tool to provide a window into the minds of those seeking financial jobs. 
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". 
Investing
How Investment Risk Is Quantified
FInancial advisors and wealth management firms use a variety of tools based in modern portfolio theory to quantify investment risk. 
Investing
Understanding Quantitative Analysis Of Hedge Funds
Learn how hedge fund performance quantitatively requires metrics such as absolute and relative returns, risk measurement, and benchmark performance ratios. 
Investing
Understanding Volatility Measurements
Learn how to choose a fund with an optimal riskreward combination. Find more information about standard deviation, beta, and more.

What assumptions are made when conducting a ttest?
Learn what a ttest is and discover the five standard assumptions made regarding the validity of sampling and data used in ... Read Answer >> 
What is the difference between systematic sampling and cluster sampling?
Learn about the differences between systematic sampling and cluster sampling, including how the samples are created for each ... Read Answer >> 
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 >> 
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 >> 
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 >> 
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 >>