Hypothesis Testing
Six Sigma – iSixSigma › Forums › General Forums › General › Hypothesis Testing
 This topic has 7 replies, 7 voices, and was last updated 2 years, 3 months ago by Mike Carnell.

AuthorPosts

June 5, 2019 at 10:43 am #239624
Vicbernie999Participant@Vicbernie999 Include @Vicbernie999 in your post and this person will
be notified via email.I know that in order to be able to do the Hypothesis Testing we must also be able to test for Normality and the “ttest”. I need help in Minitab or Excel to put the following data and calculate the pvalue. I really don´t know to use Minitab. Somebody please help.
0June 5, 2019 at 12:21 pm #239627
Katie BarryMember@KatieBarry Include @KatieBarry in your post and this person will
be notified via email.@Vicbernie999 Have you tried Minitab’s support? It’s excellent!
0June 5, 2019 at 12:45 pm #239629
Robert ButlerParticipant@rbutler Include @rbutler in your post and this person will
be notified via email.I don’t know the basis for your statement “I know that in order to be able to do the Hypothesis Testing we must also be able to test for Normality and the “ttest”. but it is completely false. There is no prerequisite connection between the desire to test a random hypothesis and ANY specific statistical test. Rather, it is a case of formulating a hypothesis, gathering data you believe will address that hypothesis and then deciding which statistical test or perhaps group of tests you should use to address/test your initial question/hypothesis.
If you have run afoul of the notion that data must be normally distributed before you can run a ttest – that notion too is wrong. The ttest is quite robust when it comes to nonnormal data (see pages 5258 The Design and Analysis of Industrial Experiments 2nd Edition – Davies). If the data gets to be “crazy” nonnormal then the ttest may indicate a lack of significant difference in means when one does exist. In that case check the data using the WilcoxonMannWhitney test.
As to what constitutes “crazy” nonnormal – that is something you should take the time to investigate. The best way to do that would be to generate histograms of your data, and run both the ttest and the Wilcoxon tests sidebyside and see what you see. You can experiment by generating your own distributions. If you do this what you will see is that the data can get very nonnormal and, if the means are different, both the ttest and the Wilcoxon will indicate they are significantly different (they won’t necessarily have the same pvalue but in both cases the pvalue will meet your criteria for significance).
With regard to the data you have posted – one of the assumptions of a two sample ttest is that the data samples be independent. Your data strongly suggests you do not have independent samples. As posted, what you have are a group of 7 officials who have tried something using an old and a new method. The smallest unit of independence is the individual official. Therefore, if you want to use a ttest to check this data what you will have to do is use a paired ttest.
The paired ttest takes the differences within each individual official between the old and the new method and asks the question: Is the mean of the DIFFERENCES significantly different from 0. What this will tell you is, within the group of officials you have tested, was the overall difference in their performances significantly changed – which is to say is the distribution of the DIFFERENCES really different from 0.
If you want to ask the question – is method new really better than method old you will have to take measurements from a group of officials running the old method, get a second group of officials and have them run just the new method and then run a two sample ttest on the two distributions. If, as I suspect, these methods require training you will need to make sure the two independent groups of officials have the same level of training in both methods.
0June 24, 2019 at 6:05 pm #240022
doeParticipant@[email protected] Include @[email protected] in your post and this person will
be notified via email.Plot the data on a probability paper using median ranks on the yaxis, or use a box plot. If you need a data record; a ‘ttest’ where standard deviation is estimated from the data.
0June 26, 2019 at 5:20 am #240044
Sergey GlukhovParticipant@[email protected] Include @[email protected] in your post and this person will
be notified via email.The bad thing about statistical hypithesis testing is that it makes your decision look more unbiased when in reality you chose the criteria of the tipping point between false and true. If you were shown the real situation 95% chance that the pill is harmful and 5% that it heals. Would you chose to take one?
0June 30, 2019 at 1:36 pm #240143
Mike CarnellParticipant@MikeCarnell Include @MikeCarnell in your post and this person will
be notified via email.@Vicbernie999 The list of hypothesis tests you listed may have come from a flow chart Miguel Hernandez and I created when we were teaching hypothesis testing in Europe (there is an article on iSS somewhere about it). That flowchart was created to explain what we were teaching. There is no point where it says it is an excusive list of hypothesis tests.
Robert Butler will always give you great advice. I am not saying other will not but I have read Robert’s posts over the years and they are rock solid. The part that seems to be missing is the importance of sample size. I can turn a hypothesis test result around simply by changing the sample size. You need to understand sample size before you do any of this.
0July 2, 2019 at 2:51 pm #240196@vicbernie999 @mikecarnell You are correct in stating that the classical texts teach that the assumptions of the ttest are independence, normality and equal variance. Independence is important to determine. If not, the advice about using the paired ttest is good. Minitab gives you the option to choose equal variances or unequal variances so testing for them with the 2 variance test is easy enough to do. That leaves you with the issue of normality. The t distribution is a form of the normal in that the t distribution approaches normal as the sample size gets larger. Given that you only show a sample size of 8, I would be concerned that neither the t test or the paired t test would be really useful. Try doing a Power and Sample Size calculation and see what sample size you would need to have a valid outcome. As was stated, there is some robustness to the test with regards to normality. Non parametric tests can be used but they don’t approach the power of the parametric tests and one famous Minitab statistician once described nonparametric tests as “a big turd”. Of course, we always have members of the profession that would say you had to transform the data to establish normality and then see what happens. Easy enough to do. The initial question should be is the nonnormal data a result of the natural state of the process or is something weird going on. Since your data is Time it would naturally be non normal since there is no upper limit to time but certainly a lower one of zero. What does your professor say the correct answer is?
0July 2, 2019 at 5:53 pm #240202
Mike CarnellParticipant@MikeCarnell Include @MikeCarnell in your post and this person will
be notified via email.@Darth Very happy to see you back even if it is for a little bit. Hope you are doing well.
0 
AuthorPosts
You must be logged in to reply to this topic.