Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Home
- /
- Analytics
- /
- Stat Procs
- /
- PROC PHREG hazard ratio is different when the same code is executed in...

Options

- RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

🔒 This topic is **solved** and **locked**.
Need further help from the community? Please
sign in and ask a **new** question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Posted 01-21-2022 12:41 AM
(253 views)

Hi, we’re wondering about the difference in results between Windows and Linux using PROC PHREG to get the hazard ratio. The 5th decimal place is different. The input datasets are identical in both cases. Do you know about any documentation available that can explain this behavior?

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

You will probably want to look at the documentation for floating point representation for the two operating systems. If those differ (and I assume they will), then very small differences in the binary representation of the data may accumulate during iterative procedures to the point that the estimates at convergence of location and variance differ a bit, and thus you get differences in the hazard ratio and any associated interval estimates or p values.

SteveDenham

1 REPLY 1

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

You will probably want to look at the documentation for floating point representation for the two operating systems. If those differ (and I assume they will), then very small differences in the binary representation of the data may accumulate during iterative procedures to the point that the estimates at convergence of location and variance differ a bit, and thus you get differences in the hazard ratio and any associated interval estimates or p values.

SteveDenham

**Available on demand!**

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.