Reference URL:
Https://onlinecourses.science.psu.edu/stat464/node/2
Normalize the normal distribution. This is Z-score.
In the above premise, assuming that σ^2 is known, now constructs the confidence interval of μ:
Using the Z-score formula above, and
Set into the formula and solve the μ. Note that the standard deviation here is σ/radical N. The Final Solution:
When Σ^2=var (X) is not known, we can calculate the Z-score with the standard deviation of the sample , so that the T distribution is subject to a degree of freedom of n-1 .
In the same calculation process, the confidence interval of μ can be as follows:
Also in the above premise, known as σ^2, we make a hypothesis about μ, such as how big is it compared to another value μ0? We can have the following assumptions:
Consider finding the P-value to help us decide whether to reject the original hypothesis. We use statistics
Calculates the P-value. If it is less than the given significance level α, reject the original hypothesis, or accept it.
Similarly, when σ^2 is unknown, we replace it with the standard deviation of the sample, and we also need to use the t distribution of degrees of freedom for n-1. Same calculation.
Applied Nonparametric Statistics