Wednesday, September 9, 2009

How to do Bartlett's Test and Levene's Test in JMP

Lately I have been receiving many queries regarding this topic. So here you go, the detailed steps on how to do variation comparison in JMP using Bartlett's Test and/or Levene's Test. Before you proceed though make sure to read my previous article regarding my experience with JMP's Levene's Testhere.


Step by Step of How to do Bartlett's Test and Levene's Test in JMP
Step1: Prepare your dataset like this
Note: Data is borrowed from JMP's sample dataset Baseball.jmp. Make sure your grouping is in one column (in this case the "Player") and your dataset is stacked (in this case the "Batting") like shown below.Notice that the grouping column is either an ordinal or nominal data while the measurement data is set as continous.
Step2: Go to the Two-way flatform
You will see the interface as shown below. Put your data into the "Y, Response",and the grouping variable into the "X, Factor".
Step3: Click on OK and you will see the following output
Step4: Test for Un-equal Variance
Conduct a Test for Un-equal varaince by selecting the option from the hot button. This is the red triangle as shown below:
Step5: You will see this output
Scroll down and you will see both Bartlett's Test and Levene's Test.
Other results like O'Brien and Brown-Forsythe are included as well.


No comments:

Post a Comment

 
Custom Search