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 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 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 the average daily return is greater than 1%.

TTest
A statistical examination of two population means. A twosample ... 
Alpha Risk
The risk in a statistical test that a null hypothesis will be ... 
Hypothesis Testing
A process by which an analyst tests a statistical hypothesis. ... 
Central Limit Theorem  CLT
A statistical theory that states that given a sufficiently large ... 
Sample
A subset containing the characteristics of a larger population. ... 
TwoTailed Test
A statistical test in which the critical area of a distribution ...

Trading
What's a TTest?
TTest is a term from statistics that allows for the comparison of two data populations and their means. The test is used to see if the two sets of data are significantly different from one another. ... 
Trading
Hypothesis Testing in Finance: Concept & 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. 
Investing
What is a Null Hypothesis?
In statistics, a null hypothesis is assumed true until proven otherwise. 
Investing
Explaining Standard Error
Standard error is a statistical term that measures the accuracy with which a sample represents a population. 
Markets
How Does Sampling Work?
Sampling is a term used in statistics that describes methods of selecting a predefined representative number of data from a larger data population. 
Markets
What is Systematic Sampling?
Systematic sampling is similar to random sampling, but it uses a pattern for the selection of the sample. 
Markets
What is a Representative Sample?
In statistics, a representative sample accurately represents the makeup of various subgroups in an entire data pool. 
Markets
Explaining the Central Limit Theorem
Central limit theorem is a fundamental concept in probability theory. 
Investing
How Statistical Significance is Determined
If something is statistically significant, itâ€™s unlikely that it happened by chance. 
Markets
Understanding the Simple Random Sample
A simple random sample is a subset of a statistical population in which each member of the subset has an equal probability of being chosen.

What assumptions are made when conducting a ttest?
Learn what a ttest is, and discover the five standard assumptions that are made regarding the validity of sampling and data ... Read Answer >> 
What is the relationship between confidence inferrals and a null hypothesis?
Learn about the relationship between confidence intervals and the null hypothesis in scientific research and empirical experimentation. Read Answer >> 
How can a representative sample lead to sampling bias?
Learn how using representative samples alone is not enough to make sampling bias negligible and why elements such as randomization ... Read Answer >> 
What does a strong null hypothesis mean?
Find out what null hypothesis is and why it is important to the scientific method. See how statisticians and economists use ... Read Answer >> 
What's the difference between a representative sample and a convenience sample?
Learn the difference between convenience sampling and representative sampling and the advantages and disadvantages of each ... 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 >>