I'm trying to find an example of how to setup a contrast of slopes within JMP. I have found examples which compare multiple categories (http://www.jmp.com/support/help/Regression_Reports.shtml) but not slopes. I tried setting up the SAS example below within JMP but under age*height I don't get an option for LSMeans Contrast (it's grayed out). I have been able to get the LSMeans Contrast option to work for the categorical cross-terms using my data of interest (as opposed to this example) but I don't trust the results. I think I'd be able to figure it out with my data if I understood the example below. Could you point me in the right direction for setting this up in JMP?
Website with detailed example:
http://www.ats.ucla.edu/stat/sas/faq/compreg3.htm
Example Table:
| id | age | height | weight |
| 1 | 1 | 56 | 140 |
| 2 | 1 | 60 | 155 |
| 3 | 1 | 64 | 143 |
| 4 | 1 | 68 | 161 |
| 5 | 1 | 72 | 139 |
| 6 | 1 | 54 | 159 |
| 7 | 1 | 62 | 138 |
| 8 | 1 | 65 | 121 |
| 9 | 1 | 65 | 161 |
| 10 | 1 | 70 | 145 |
| 11 | 2 | 56 | 117 |
| 12 | 2 | 60 | 125 |
| 13 | 2 | 64 | 133 |
| 14 | 2 | 68 | 141 |
| 15 | 2 | 72 | 149 |
| 16 | 2 | 54 | 109 |
| 17 | 2 | 62 | 128 |
| 18 | 2 | 65 | 131 |
| 19 | 2 | 65 | 131 |
| 20 | 2 | 70 | 145 |
| 21 | 3 | 64 | 211 |
| 22 | 3 | 68 | 223 |
| 23 | 3 | 72 | 235 |
| 24 | 3 | 76 | 247 |
| 25 | 3 | 80 | 259 |
| 26 | 3 | 62 | 201 |
| 27 | 3 | 69 | 228 |
| 28 | 3 | 74 | 245 |
| 29 | 3 | 75 | 241 |
| 30 | 3 | 82 | 269 |
SAS Code from Example:
PROC GLM DATA=htwt2 ;
CLASS age ;
MODEL weight = age height age*height / SOLUTION ;
CONTRAST 'test equal slopes' age*height 1 -1 0,
age*height 0 1 -1 ;
RUN;
My Code from JMP Fit Model:
DATA Contrast_Ex; INPUT age &$ height weight; Lines;
1 56 140
1 60 155
.
.
3 82 269
;
RUN;
PROC GLM DATA=Contrast_Ex ALPHA=0.05;
CLASS age;
MODEL weight = age height age*height;
RUN;