I have been using JMP 12.0 for some time and find it fantastic. However, there is a problem where I would appreciate some help since I seem to be the only person who uses JMP wheras the rest uses SPSS.
I would like to get som information regarding the following:
C1 C2
Title Computed order
r1 surgeon 1
r2 surgeon 2
r3 surgeon 3
r4 resident 1
r5 resident 2
r6 intern 1
r7 intern 2
etc.
A friend and collegue of mine uses SPSS and has in that program written the following formula which computes the value in C2 in his SPSS.
Do if Title>LAG(Title).
Compute Order=1.
End if.
Do if Title=LAG(Title).
Compute Order=LAG(Order)+1.
End if.
Execute.
How can I write a corresponding formula in JMP?
Very greatful if someone could explain how.
LarsBirger