Fundamentals of Statistics contains material of various lectures and courses of H. Lohninger on statistics, data analysis and chemometrics......click here for more. 
Home Statistical Tests Means and Medians One Sample tTest Large Sample Size  
See also: survey on statistical tests, small samples, twosample ttest, distribution calculator  
OneSample tTest  Large SamplesLet's assume that we have to fill containers with an expensive substance. Our customers expect a guaranteed quantity μ of the material. We know the precision σ of our machinery and want to check whether we have adjusted our dispenser correctly. Since measurements are rather cheap (i.e. we only have to weigh the container) we can afford a lot of measurements n. The question we have to answer is how large does the mean quantity have to be, so that we don't have to reject the assumption that our filling procedure is correct. Since we have to acknowledge the possibility of an erroneous decision, we are content when our error probability is smaller than α%. The probability α is called the confidence level. The decision can be made according to the table below:
1. We have to formulate our two hypotheses (the null hypothesis H_{0} and the alternative hypothesis H_{1}): H_{0}: amount <= limit H_{1}: amount > limit 3. In order to decide which of the two hypotheses is true we calculate the test statistic , which is normally distributed. The zvalue gives us the distance of the measured from the specified value µ in terms of the standard deviation σ, e.g. when z=1.5, the distance is 1.5 σ. 4. Defining the region of rejection. In order to know when we have to reject the null hypothesis (i.e. is less than μ) we have to define the rejection region by specifying the critical value of z. The rejection region depends on the level of significance. The critical z value is that particular value on the xaxis of the distribution function for which the area under the distribution function to its right is exactly α percent. We can find this value from a z table: z_{x} = z(0.95) =1.645; or you may start the distribution calculator to calculate the value of interest. 5. Finally, we have to select the appropriate hypothesis by inserting
the numerical values for ,
µ, σ and n into the equation for z. We
do not reject the null hypothesis (note the subtle difference to "we accept
the null hypothesis") if the calculated z value is smaller than z_{x}
= 1.645.
Note: A more general approach is to use the tdistribution for testing,
since the tdistribution approaches the normal distribution for large sample
sizes.


Home Statistical Tests Means and Medians One Sample tTest Large Sample Size 