BookmarkSubscribeRSS Feed
ehertzmark
Calcite | Level 5

if i have a variable for strata in a proc phreg and i am computing the baseline hazard function using diradj, will the computations within the strata be based on the covariate distribution in the whole data set or only that in each stratum?

 

1 REPLY 1
SAS_Rob
SAS Employee

The BASELINE data set will contain, for every covariate pattern, an observation at each unique event time.   If you have a stratified model, i.e. - are using the STRATA  statement, then this architecture continues for each strata.  This holds true when you also use the DIRADJ because it is based upon the stratum-specific estimated survival function.  For the specific details about the direct adjusted survival curve for each stratum, please see the link to the documentation below.

SAS Help Center: Survivor Function Estimators

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

Explore Now →
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.

Discussion stats
  • 1 reply
  • 209 views
  • 0 likes
  • 2 in conversation