Hypotheses about the mean
In order to check a sample's parameter comparability with certain values, the following hypotheses are suggested: main (zero) hypothesis—when an assigned characteristic is commensurate with this quantity (for example, the mean is 5), and the alternative hypothesis, which differs from the zero hypothesis (for example, the mean is not equal to 5). When we are dealing with a sample of random variable observations, we don't know anything for sure, but we know to a certain degree of probability that this is a degree to which the null hypothesis can be either accepted or rejected. To test a hypothesis, there are functions that calculate the probability of the hypothesis. The more tests there are that give positive results with respect to one hypothesis, the more confidence there is in its truthfulness.
Hypotheses about a mean are checked using the LocationTest
function. Let's generate a random sample of 1000 values with a normal distribution and test the hypothesis that...