Final Project Instructions for Performing Two-Sample t Tests and Paired t Tests Using Minitab
MTH 1210: Introduction to Statistics
These instructions are for performing a two-sample t test or a paired t test. To decide which test is appropriate for your project, you need to decide whether your data consists of two independent samples (i.e. the values in one sample are not related to those in the other sample) or paired samples (each observation in one sample can be matched with an observation in the other, for example if the data consist of prices of the same 30 items at two different stores). See also below, where the assumptions required for each test are described.
Numerical examples of each type of test are given below, along with the Minitab output and a write-up of the conclusion based on the values produced in the output.
For more Minitab instructions for performing statistical inference (one-sample confidence intervals and hypothesis tests), see the file minitab_inference.doc on the course website.
An engineer in a garment factory must compare two different work sequences for measuring the shear strength of polyester fibers to see if one sequence is, on average, faster than the other. Two groups of 6 employees each measure the shear strength of the fabric, the first group using Work Sequence 1 and the second using Work Sequence 2.
The following data represent the 6 completion times (in seconds) for each group:
Group 1
(Work Sequence 1) |
Group 2
(Work Sequence 2) |
220 | 247 |
235 | 223 |
214 | 215 |
197 | 219 |
206 | 207 |
214 | 236 |
A two-sample t test was performed with this data in Minitab using the instructions below. The null hypothesis was that there is no difference between the mean times for the two work sequences, and since the engineer had no prior idea as to which work sequence he suspected would be quicker, the alternative hypothesis was two-sided (i.e. “not equal”). The Minitab output is:
Two-Sample T-Test and CI: Work Sequence 1, Work Sequence 2
Two-sample T for Work Sequence 1 vs Work Sequence 2
N Mean StDev SE Mean Work Sequence 1 6 214.3 12.9 5.3 Work Sequence 2 6 224.5 14.6 6.0
Difference = mu (Work Sequence 1) – mu (Work Sequence 2) Estimate for difference: -10.1667 95% CI for difference: (-28.1544, 7.8211) T-Test of difference = 0 (vs not =): T-Value = -1.28 P-Value = 0.233 DF = 9 |
From the output, the summary statistics are:
The computed value of the test statistic is
,
and the P-value is 0.233. Thus, using a level of significance α = 0.05, since the P-value is greater than α, we fail to reject the null hypothesis. Apparently there is no significant difference between the true mean completion times for the two work sequences, and the observed difference between sample means (-10.1667) can be explained by chance variation.
Suppose that the engineer the previous example instead conducts his study in the following manner: each of 8 employees measures the shear strength of the fabric using both Work Sequence 1 and Work Sequence 2, so that observations in the two samples can be matched according to which employee the observation represents.
The following data represent the 8 pairs of completion times (in seconds), along with the differences (Work Sequence 1 minus Work Sequence 2):
Employee | Work Sequence 1 | Work Sequence 2 | Difference |
1 | 225 | 230 | -5 |
2 | 215 | 223 | -8 |
3 | 210 | 215 | -5 |
4 | 197 | 197 | 0 |
5 | 202 | 207 | -5 |
6 | 200 | 226 | -26 |
7 | 236 | 230 | 6 |
8 | 225 | 224 | 1 |
Before performing the paired t test, it’s useful to look at a histogram of the 8 differences. See below for instructions for computing the differences in Minitab from the two data columns.
A paired t test was performed with this data in Minitab using the instructions below. The null hypothesis was that there is no difference between the mean times for the two work sequences, and since the engineer had no prior idea as to which work sequence he suspected would be quicker, the alternative hypothesis was two-sided (i.e. “not equal”). The output is
Paired T-Test and CI: Work Sequence 1, Work Sequence 2
Paired T for Work Sequence 1 – Work Sequence 2
N Mean StDev SE Mean Work Sequence 1 8 213.750 13.997 4.949 Work Sequence 2 8 219.000 11.808 4.175 Difference 8 -5.25000 9.49812 3.35809
95% CI for mean difference: (-13.19063, 2.69063) T-Test of mean difference = 0 (vs not = 0): T-Value = -1.56 P-Value = 0.162
|
From the output, the summary statistics for the two samples are:
and the summary statistics for the differences are:
The computed value of the test statistic is
,
and the P-value is 0.162. Thus, using a level of significance α = 0.05, since the P-value is greater than α, we fail to reject the null hypothesis. Apparently there is no difference between the true mean completion times for the two work sequences and the observed sample mean of the differences (-5.25) can be explained by chance variation.
Minitab Instructions
Assumptions:
Either
or,
Make sure the data are in two separate columns, each column representing a sample.
In the dialog box: Click the circle next to “Samples in different columns.”
FIRST: Select the variable (double click).
SECOND: Select the variable (double click).
< OPTIONS >
TEST DIFFERENCE: Enter the null-hypothesized value (if
different from 0.0).
ALTERNATIVE: Choose the form of the alternative hypothesis from the drop-down list using the following guideline (the subscripts 1 and 2 correspond to the variables previously chosen as FIRST and SECOND):
Hypothesis | Minitab Notation | |
Null | H0: µ1 – µ2 = 0 | |
Alternative | Ha: µ1 – µ2 < 0 | less than |
Ha: µ1 – µ2 ≠ 0 | not equal | |
Ha: µ1 – µ2 > 0 | greater than |
< OK >
< OK >
The desired calculation will appear in the Session window.
Assumptions: Data consists of two samples of size n that can be paired in a meaningful way (for example if there are two measurements on each of n individuals) so that a difference can be computed for each pair
and either
or,
Make sure the data are in two separate columns, each column representing a sample and each row representing a distinct pair.
In the dialog box: Click the circle next to “Samples in columns.”
FIRST SAMPLE: Select the variable (double click).
SECOND SAMPLE: Select the variable (double click).
< OPTIONS >
TEST MEAN: Enter the null-hypothesized value (if different from 0.0).
ALTERNATIVE: Choose the form of the alternative hypothesis from the drop-down list using the following guideline (the subscripts 1 and 2 correspond to the variables previously chosen as FIRST SAMPLE and SECOND SAMPLE):
Hypothesis | Equivalent Hypothesis | Minitab Notation | |
Null | H0: µ1 – µ2 = 0 | H0: µd = 0 | |
Alternative | Ha: µ1 – µ2 < 0 | Ha: µd < 0 | less than |
Ha: µ1 – µ2 ≠ 0 | Ha: µd ≠ 0 | not equal | |
Ha: µ1 – µ2 > 0 | Ha: µd > 0 | greater than |
< OK >
< OK >
The desired calculation will appear in the Session window.
Computing the Difference between Values in Two Columns
When two columns in a Minitab worksheet represent samples of data that can be paired, it’s often useful to compute a column of differences, for example to examine a histogram of the differences, etc.
The following commands create a variable called “Difference” that’s the difference between two hypothetical variables called “Pretest Score” and “Posttest Score”:
Type the variable name “Difference” at the top of a vacant column.
CALC > CALCULATOR
In the dialogue box: STORE RESULT IN VARIABLE: Enter “Difference” (double click).
EXPRESSION: Enter ‘Pretest Score’ – ‘Posttest Score’ (by typing or
clicking).
< OK >
The differences should now appear in the appropriate column.
Are you busy and do not have time to handle your assignment? Are you scared that your paper will not make the grade? Do you have responsibilities that may hinder you from turning in your assignment on time? Are you tired and can barely handle your assignment? Are your grades inconsistent?
Whichever your reason is, it is valid! You can get professional academic help from our service at affordable rates. We have a team of professional academic writers who can handle all your assignments.
Students barely have time to read. We got you! Have your literature essay or book review written without having the hassle of reading the book. You can get your literature paper custom-written for you by our literature specialists.
Do you struggle with finance? No need to torture yourself if finance is not your cup of tea. You can order your finance paper from our academic writing service and get 100% original work from competent finance experts.
Computer science is a tough subject. Fortunately, our computer science experts are up to the match. No need to stress and have sleepless nights. Our academic writers will tackle all your computer science assignments and deliver them on time. Let us handle all your python, java, ruby, JavaScript, php , C+ assignments!
While psychology may be an interesting subject, you may lack sufficient time to handle your assignments. Don’t despair; by using our academic writing service, you can be assured of perfect grades. Moreover, your grades will be consistent.
Engineering is quite a demanding subject. Students face a lot of pressure and barely have enough time to do what they love to do. Our academic writing service got you covered! Our engineering specialists follow the paper instructions and ensure timely delivery of the paper.
In the nursing course, you may have difficulties with literature reviews, annotated bibliographies, critical essays, and other assignments. Our nursing assignment writers will offer you professional nursing paper help at low prices.
Truth be told, sociology papers can be quite exhausting. Our academic writing service relieves you of fatigue, pressure, and stress. You can relax and have peace of mind as our academic writers handle your sociology assignment.
We take pride in having some of the best business writers in the industry. Our business writers have a lot of experience in the field. They are reliable, and you can be assured of a high-grade paper. They are able to handle business papers of any subject, length, deadline, and difficulty!
We boast of having some of the most experienced statistics experts in the industry. Our statistics experts have diverse skills, expertise, and knowledge to handle any kind of assignment. They have access to all kinds of software to get your assignment done.
Writing a law essay may prove to be an insurmountable obstacle, especially when you need to know the peculiarities of the legislative framework. Take advantage of our top-notch law specialists and get superb grades and 100% satisfaction.
We have highlighted some of the most popular subjects we handle above. Those are just a tip of the iceberg. We deal in all academic disciplines since our writers are as diverse. They have been drawn from across all disciplines, and orders are assigned to those writers believed to be the best in the field. In a nutshell, there is no task we cannot handle; all you need to do is place your order with us. As long as your instructions are clear, just trust we shall deliver irrespective of the discipline.
Our essay writers are graduates with bachelor's, masters, Ph.D., and doctorate degrees in various subjects. The minimum requirement to be an essay writer with our essay writing service is to have a college degree. All our academic writers have a minimum of two years of academic writing. We have a stringent recruitment process to ensure that we get only the most competent essay writers in the industry. We also ensure that the writers are handsomely compensated for their value. The majority of our writers are native English speakers. As such, the fluency of language and grammar is impeccable.
There is a very low likelihood that you won’t like the paper.
Not at all. All papers are written from scratch. There is no way your tutor or instructor will realize that you did not write the paper yourself. In fact, we recommend using our assignment help services for consistent results.
We check all papers for plagiarism before we submit them. We use powerful plagiarism checking software such as SafeAssign, LopesWrite, and Turnitin. We also upload the plagiarism report so that you can review it. We understand that plagiarism is academic suicide. We would not take the risk of submitting plagiarized work and jeopardize your academic journey. Furthermore, we do not sell or use prewritten papers, and each paper is written from scratch.
You determine when you get the paper by setting the deadline when placing the order. All papers are delivered within the deadline. We are well aware that we operate in a time-sensitive industry. As such, we have laid out strategies to ensure that the client receives the paper on time and they never miss the deadline. We understand that papers that are submitted late have some points deducted. We do not want you to miss any points due to late submission. We work on beating deadlines by huge margins in order to ensure that you have ample time to review the paper before you submit it.
We have a privacy and confidentiality policy that guides our work. We NEVER share any customer information with third parties. Noone will ever know that you used our assignment help services. It’s only between you and us. We are bound by our policies to protect the customer’s identity and information. All your information, such as your names, phone number, email, order information, and so on, are protected. We have robust security systems that ensure that your data is protected. Hacking our systems is close to impossible, and it has never happened.
You fill all the paper instructions in the order form. Make sure you include all the helpful materials so that our academic writers can deliver the perfect paper. It will also help to eliminate unnecessary revisions.
Proceed to pay for the paper so that it can be assigned to one of our expert academic writers. The paper subject is matched with the writer’s area of specialization.
You communicate with the writer and know about the progress of the paper. The client can ask the writer for drafts of the paper. The client can upload extra material and include additional instructions from the lecturer. Receive a paper.
The paper is sent to your email and uploaded to your personal account. You also get a plagiarism report attached to your paper.
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more