Abstract
The t-test is used for the mean of a normal distribution with estimated standard deviation s, or for comparing the means of two normal distributions.
We will look at several datasets, graphically and numerically, and focus on two types of questions.
Testing: We have null (H 0) and alternative (H 1) hypotheses about the true value μ of the mean of the population from which the data was drawn. We wish to test whether there is enough evidence to reject the null hypothesis. The possible answers to the test are “reject the null hypothesis” or “do not reject the null hypothesis.” The possible answers do not contain any numbers.
The null hypothesis is a statement about the world. It might be a true statement. It might be a false statement. The phrase “reject the null hypothesis” means the evidence from the data suggests that the null hypothesis is a false statement.
Estimation: We have some data, and we wish to estimate the location of the population mean μ. We estimate the location with a confidence interval with a specified confidence level. Frequently, the level is 95%. The answer is an interval, a set of two numbers. The interval is written in the form
where the numbers L and U stand for “lower bound” and “upper bound,” respectively. The interval is written as a set of parentheses with the smaller number on the left, the larger number on the right, and a comma separating them.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2009 Springer Science+Business Media, LLC
About this chapter
Cite this chapter
Heiberger, R.M., Neuwirth, E. (2009). t-Tests. In: R Through Excel. Use R. Springer, New York, NY. https://doi.org/10.1007/978-1-4419-0052-4_6
Download citation
DOI: https://doi.org/10.1007/978-1-4419-0052-4_6
Published:
Publisher Name: Springer, New York, NY
Print ISBN: 978-1-4419-0051-7
Online ISBN: 978-1-4419-0052-4
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)