Instruction on JMP IN of Chapter 10

Note: This instruction contains JMP instruction of Example 15.2 and exercise 15.10.

Example 15.2:

(1). Download the dataset xm15-02.JMP from the website for this course and open it.

(2). Put the mouse on the column “degree” and right click mouse, from the pop up menu, choose “column info…”, then change the Modeling Type from “Continuous” to “Nominal”. Similarly change column “MBA Major” from “Continuous” to “Nominal”.

(2). Go to the Analyze menu and select “Fit Y by X”. Choose “Degree” as X, Factor and choose “MBA major” as Y, Factor. Click ok.

(3). At the end of the output, you can see the Test Result. The value of Pearson ChiSquare value is 14.702. And Prob>ChiSq is 0.0227.

Following is the output:

Contingency Analysis of MBA Major By Degree

Mosaic Plot

Contingency Table

Degree By MBA Major

Count
Total %
Col %
Row % / 1 / 2 / 3
1 / 31
20.39
50.82
51.67 / 13
8.55
29.55
21.67 / 16
10.53
34.04
26.67 / 60
39.47
2 / 8
5.26
13.11
25.81 / 16
10.53
36.36
51.61 / 7
4.61
14.89
22.58 / 31
20.39
3 / 12
7.89
19.67
30.77 / 10
6.58
22.73
25.64 / 17
11.18
36.17
43.59 / 39
25.66
4 / 10
6.58
16.39
45.45 / 5
3.29
11.36
22.73 / 7
4.61
14.89
31.82 / 22
14.47
61
40.13 / 44
28.95 / 47
30.92 / 152

Tests

Source / DF / -LogLike / RSquare (U) /
Model / 6 / 6.89059 / 0.0417
Error / 144 / 158.51466
C. Total / 150 / 165.40525
N / 152
Test / ChiSquare / Prob>ChiSq /
Likelihood Ratio / 13.781 / 0.0322
Pearson / 14.702 / 0.0227

Exercise 15.10:

(1). Download the dataset xr15-10.JMP from the website for this course and open it.

(2). Put the mouse on the column “Grades” and right click mouse, from the pop up menu, choose “column info…”, then change the Modeling Type from “Continuous” to “Nominal”.

(3). Go to the Analyze menu and select “Distribution”. Choose “Grades” as Y, Columns. Click ok.

(4). From the output, you can see a red arrow just before “Grades”. Left click it and from the pop-up menu choose “Test Probabilities”. Then fill the blanks with the following number: Level 1: “.05”, Level 2: “.25”, Level 3: “.40”, Level 4: “.25” and Level 5: “.05”. And then choose “Fix hypothesized values, rescale omitted”. And click “Done”.

(5). At the end of the output, you can see the Test Result. The value of Pearson ChiSquare value is 14.0667. And Prob>ChiSq is 0.0071. Which means we should reject the zero hypotheses.

Following is the output:

Distributions

Grades

Frequencies

Level / Count / Prob /
1 / 11 / 0.07333
2 / 32 / 0.21333
3 / 62 / 0.41333
4 / 29 / 0.19333
5 / 16 / 0.10667
Total / 150 / 1.00000

5 Levels

Test Probabilities

Level / Estim Prob / Hypoth Prob /
1 / 0.07333 / 0.05000
2 / 0.21333 / 0.25000
3 / 0.41333 / 0.40000
4 / 0.19333 / 0.25000
5 / 0.10667 / 0.05000
Test / ChiSquare / DF / Prob>Chisq /
Likelihood Ratio / 11.6784 / 4 / 0.0199
Pearson / 14.0667 / 4 / 0.0071

Frequencies

Level / Count / Prob /
1 / 11 / 0.07333
2 / 32 / 0.21333
3 / 62 / 0.41333
4 / 29 / 0.19333
5 / 16 / 0.10667
Total / 150 / 1.00000

5 Levels

Test Probabilities

Level / Estim Prob / Hypoth Prob /
1 / 0.07333 / 0.05000
2 / 0.21333 / 0.25000
3 / 0.41333 / 0.40000
4 / 0.19333 / 0.25000
5 / 0.10667 / 0.05000
Test / ChiSquare / DF / Prob>Chisq /
Likelihood Ratio / 11.6784 / 4 / 0.0199
Pearson / 14.0667 / 4 / 0.0071