cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
LarsBirger
Level III

How do I perform a Cox proportional hazard analysis?

In Sweden I seem to be the only person who uses the excellent statistical software JMP. I have used it for several years and now have version 14.2.0. The majority of the research colleagues that I work with use SPSS but I think JMP is much better. However, since I am a surgeon my statistical knowledge is somewhat limited. I know JMP fairly well but I mostly do univariate and multivariate analyses of nominal data. However, now I got a question from a journal regarding the Cox proportional hazard analysis of the data. Since I do not know how to do that in JMP I would appreciate if the community could help me. The dependent (y) variabel is continuous and is time to event (in bold, see a small sample below). To the left (in italic and book antiqua) are the x variables as nominal values and to the right of the y variabel are the x variables converted to numerical (1 or 0) values where 1 is a "positive event" and 0 is the reference.

I wonder how I do in JMP to get the results of these sample data (these are just examples and not the real data) and I would like to be able to present it like below. I would prefer an instruction of how to do it in an interactive mode. However, if possible also in a scripting answer. My knowledge of how to use JMP regarding programming is somewhat better than my statistical knowledge.

 

 

Univariable analysis

Multivariable analysis

 

Hazard ratio (95% confidence interval)

p

Hazard ratio (95% confidence interval)

p

     

Hilar stricture (Reference non-hilar)

0.00 (0.00-0.00)

 

0.00 (0.00-0.00)

 

 

 

 

 

 

Male (Reference Female)

0.00 (0.00-0.00)

 

0.00 (0.00-0.00)

 

 

 

 

 

 

Age ≥ 75 years (Reference <75 years)

0.00 (0.00-0.00)

 

0.00 (0.00-0.00)

 

 

 

 

 

 

ASA III-IV (reference ASA I-II)

0.00 (0.00-0.00)

 

0.00 (0.00-0.00)

 

 

Below is the example file:

Hilar stenosisGenderAge ≥ 75 yearsASA III-IVTime to eventHilar structure (GS) Yes=1 No=0Men (GS) Male=1 Female=0Age ≥ 75 years =1 else 0ASA III-IV=1 else 0
NoMaleNoNo1150100
NoFemaleYesNo1570010
NoFemaleNoYes1010001
NoFemaleYesYes1380011
NoFemaleYesNo1140010
NoFemaleNoYes1770001
NoFemaleNoNo1330000
NoFemaleYesNo390010
YesMaleYesYes291111
YesFemaleYesYes71011
NoFemaleYesNo1560010
YesFemaleYesYes1691011
NoFemaleNoNo8940000
YesFemaleYesNo3031010
YesMaleNoYes791101
NoFemaleYesYes320011
NoFemaleNoNo2110000
YesMaleNoYes2481101
NoFemaleYesYes2520011
NoMaleNoYes4560101

 

Of JSL code I have no knowledge.

 

Sincerely yours

 

 

Lars Enochsson

Professor of Surgery

Umeå University 

Sweden

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: How do I perform a Cox proportional hazard analysis?

Cox Proportional Hazards Model is available under the Fit Model Platform.  Here is a link to the JMP Help on it.

Jim

View solution in original post

1 REPLY 1
txnelson
Super User

Re: How do I perform a Cox proportional hazard analysis?

Cox Proportional Hazards Model is available under the Fit Model Platform.  Here is a link to the JMP Help on it.

Jim