<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>OsoGris Tracker</title>
    <link>https://communities.sas.com/kntur85557/tracker</link>
    <description>OsoGris Tracker</description>
    <pubDate>Sat, 16 May 2026 10:34:25 GMT</pubDate>
    <dc:date>2026-05-16T10:34:25Z</dc:date>
    <item>
      <title>Re: How to compute survival probabilities from PROC PHREG fitted model?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-compute-survival-probabilities-from-PROC-PHREG-fitted/m-p/950758#M47542</link>
      <description>&lt;P&gt;The formulas for the survival probabilities are given in the Details =&amp;gt; Survivor Function Estimators section of the PROC PHREG documentation.&amp;nbsp; These formulas are not easily replicated outside of PHREG and we rarely, if ever, get asked about them.&amp;nbsp; The only one that seems tractable is for METHOD=PL (product limit).&amp;nbsp; This estimate is S(t) = So(t)**exp(XBETA) where So(t) is the baseline survival function (more on this later) and XBETA is the linear predictor XBETA = b1*x1 + b2*x2 + . . . . + bk*xk. The bi are the coefficients and xi are the covariate values for a particular observation.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The baseline survival function So(t) can be had using the BASELINE statement and OUT= data set where the COVARIATES= data set/option has a zero value for all of the covariates.&amp;nbsp; Then you can manually put together S(t) = So(t)**exp(XBETA).&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that the BASELINE statement is typically used in conjunction with the PLOTS= option to produce survival curves.&amp;nbsp; These curves are produced at the settings given in the COVARIATES= data set.&amp;nbsp; &amp;nbsp;The COVARIATES= data set typically only has a few observations used for plotting particular survival curves.&amp;nbsp; See Example xx.8 Survival Curves in the PHREG documentation (Examples section) for an illustration.&amp;nbsp; The BASELINE statement produces estimates at the event times in the data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also note that if you are using the model (t1, t2) counting-process syntax then the BASELINE statement enforces METHOD=Breslow regardless of what METHOD= option you specify.&amp;nbsp; I think a NOTE is written to the log in this case.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 11:12:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-compute-survival-probabilities-from-PROC-PHREG-fitted/m-p/950758#M47542</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2024-11-14T11:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot cumulative incidence with number at risk from survival analysis with competing risk</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-plot-cumulative-incidence-with-number-at-risk-from/m-p/950223#M47519</link>
      <description>&lt;P&gt;When using the EVENTCODE= option for a competing risks analysis PROC LIFETEST does not support the ATRISK plot option.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2024 15:13:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-plot-cumulative-incidence-with-number-at-risk-from/m-p/950223#M47519</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2024-11-08T15:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: The Weibull accelerated failure time model parameters estimated but how to use them for predicti</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-Weibull-accelerated-failure-time-model-parameters-estimated/m-p/927690#M46168</link>
      <description>Tom: You can get the survival probability in this manner:  use the OUTPUT statement to request the CDF= keyword and post-process this as Survival = 1 - CDF in a subsequent DATA step.  I'm not sure how to get a cumulative incidence value since PROC LIFEREG doesn't model any competing risks scenario for which the CIF is appropriate.&lt;BR /&gt;</description>
      <pubDate>Thu, 09 May 2024 13:56:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-Weibull-accelerated-failure-time-model-parameters-estimated/m-p/927690#M46168</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2024-05-09T13:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Phreg programming statement to create Time-Varying Covariates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Phreg-programming-statement-to-create-Time-Varying/m-p/911304#M45226</link>
      <description>&lt;P&gt;Please note that when using programming statements to create time-dependent covariates they must appear inside the PROC PHREG step.&amp;nbsp; You cannot create them in a prior DATA step unless you are using the model (t1, t2) counting-process syntax (instead of programming statements).&amp;nbsp; Please see the following SAS NOTE:&lt;/P&gt;
&lt;H2&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;Usage Note&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;I&gt;24554:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;Why do I get different results when I form time-dependent covariates in a DATA step as opposed to forming them inside a PROC PHREG step?&lt;/FONT&gt;&lt;/H2&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="4"&gt;&lt;A href="https://support.sas.com/kb/24/554.html" target="_blank"&gt;https://support.sas.com/kb/24/554.html&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 17:14:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Phreg-programming-statement-to-create-Time-Varying/m-p/911304#M45226</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2024-01-11T17:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Propensity Match in 1:1:1 fashion</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Propensity-Match-in-1-1-1-fashion/m-p/909517#M45147</link>
      <description>&lt;P&gt;You are correct that PROC PSMATCH does not match with more than two groups (treatment and control).&amp;nbsp; I am not aware of a procedure that does matching of 3 groups.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2023 16:50:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Propensity-Match-in-1-1-1-fashion/m-p/909517#M45147</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2023-12-22T16:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Strange result of Proc lifetest in one strata</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Strange-result-of-Proc-lifetest-in-one-strata/m-p/907849#M45072</link>
      <description>&lt;P&gt;Shouldn't you be specifying a FAILCODE= value in your code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=""&gt;proc lifetest data=Phreg12121   
plots=cif(test cl)  outcif=survival_data;
time T_FI1YR*outcome(0)/failcode; 			
strata cohort ;
*WEIGHT weight0_SD;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Dec 2023 17:25:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Strange-result-of-Proc-lifetest-in-one-strata/m-p/907849#M45072</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2023-12-13T17:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate compact letter display from multiple comparisons in PROC LIFETEST?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-generate-compact-letter-display-from-multiple-comparisons/m-p/907348#M45049</link>
      <description>There is nothing similar to the "pdiff lines" options for the ADJUST= option in PROC LIFEEST.&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Dec 2023 15:52:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-generate-compact-letter-display-from-multiple-comparisons/m-p/907348#M45049</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2023-12-11T15:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: PROC PHREG with IPTW weighted cohort: robust standard error</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-PHREG-with-IPTW-weighted-cohort-robust-standard-error/m-p/907307#M45046</link>
      <description>Robust standard errors are produced by the COVSANDWICH(AGGREGATE) option on the PROC PHREG statement.  You will also need an ID statement to list the variable that defines your clusters.&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Dec 2023 11:26:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-PHREG-with-IPTW-weighted-cohort-robust-standard-error/m-p/907307#M45046</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2023-12-11T11:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Interaction term in the PHREG procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-term-in-the-PHREG-procedure/m-p/905362#M44931</link>
      <description>You may need to put your interaction terms in programming statements inside the procedure if they involve the time variable.  Then you can list them in the MODEL statement as well.  This would be for so-called "time-dependent interactions with time" variables.&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Nov 2023 14:50:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-term-in-the-PHREG-procedure/m-p/905362#M44931</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2023-11-30T14:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Including log rank test with proc phreg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Including-log-rank-test-with-proc-phreg/m-p/901851#M44704</link>
      <description>There is no log-rank test with PROC PHREG.  You can get a log-rank test in PROC LIFETEST with the STRATA statement.&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Nov 2023 06:26:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Including-log-rank-test-with-proc-phreg/m-p/901851#M44704</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2023-11-07T06:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: procedure for TWANG</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/procedure-for-TWANG/m-p/901039#M44661</link>
      <description>I don't know if PROC PSMATCH was based on TWANG or not but it does propensity score matching of treatment and control groups.&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Nov 2023 10:53:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/procedure-for-TWANG/m-p/901039#M44661</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2023-11-01T10:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: procedure for TWANG</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/procedure-for-TWANG/m-p/900863#M44655</link>
      <description>You might want to look into the PROC PSMATCH procedure.   It does propensity score matching of treatment and control groups.&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Oct 2023 07:09:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/procedure-for-TWANG/m-p/900863#M44655</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2023-10-31T07:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Phreg for time varying exposure variable- different output</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Phreg-for-time-varying-exposure-variable-different-output/m-p/899060#M44546</link>
      <description>&lt;P&gt;I think you should go with the start, stop counting-process syntax.&amp;nbsp; &amp;nbsp;Your data are already in that form.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 05:36:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Phreg-for-time-varying-exposure-variable-different-output/m-p/899060#M44546</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2023-10-18T05:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Harrell's C indexes in competing risk model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Harrell-s-C-indexes-in-competing-risk-model/m-p/895639#M44400</link>
      <description>&lt;P&gt;You can try using the&amp;nbsp; CONCORDANCE option on the PROC PHREG statement.&amp;nbsp; I don't know if that's enabled, necessarily, for the competing risks analysis.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 10:17:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Harrell-s-C-indexes-in-competing-risk-model/m-p/895639#M44400</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2023-09-25T10:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cox regression plot - plot two lines in the same graph</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Cox-regression-plot-plot-two-lines-in-the-same-graph/m-p/895215#M44386</link>
      <description>&lt;P&gt;Because you don't have a COVARIATES= option/data set you are getting the default behavior in the BASELINE statement of producing only the reference level of group.&amp;nbsp; You need to define a COVARIATES= option/data set where you specify both groups.&amp;nbsp; &amp;nbsp;See the example in the documentation titled "Survival Curves" for an example of using the COVARIATES= option.&amp;nbsp; I think you would also need to use the CUMHAZ= keyword on the BASELINE statement.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 10:40:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Cox-regression-plot-plot-two-lines-in-the-same-graph/m-p/895215#M44386</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2023-09-21T10:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Log-rank test at a specific time point</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Log-rank-test-at-a-specific-time-point/m-p/890940#M44151</link>
      <description>&lt;P&gt;The only way to get a log-rank test at 12 months and 24 months would be to subset your data to those time intervals.&amp;nbsp; That is not really something we would recommend.&amp;nbsp; &amp;nbsp;I don't see any other way to get a log-rank test at a specific time instead of over all the data.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 06:14:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Log-rank-test-at-a-specific-time-point/m-p/890940#M44151</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2023-08-25T06:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Estimating Hazards for Time-Variant Treatment Groups in PROC PHREG</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Estimating-Hazards-for-Time-Variant-Treatment-Groups-in-PROC/m-p/888109#M43984</link>
      <description>&lt;P&gt;PHREG does not produce hazard estimates.&amp;nbsp; The underlying model is h(t) = ho(t) * exp(xbeta) where ho(t) is an unknown and unspecified baseline hazard.&amp;nbsp; &amp;nbsp;Cox's method of partial likelihood does away with ho(t) but still estimates the coefficients.&amp;nbsp; These coefficients are exponentiated to give hazard ratios which is the main output of PHREG.&amp;nbsp; It you have time-dependent covariates (td-covars) defined by programming statements inside the PHREG step then, as you noticed, the OUTPUT and BASELINE statements are not available.&amp;nbsp; &amp;nbsp;If you could use the model (t1, t2) counting-process style of input (cp-syntax) then the BASELINE statement could be used with the CUMHAZ= keyword to get cumulative (integrated) hazard estimates.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 10:28:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Estimating-Hazards-for-Time-Variant-Treatment-Groups-in-PROC/m-p/888109#M43984</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2023-08-07T10:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to conduct competing-risk based on proc surveyphreg using sas 9.4</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-conduct-competing-risk-based-on-proc-surveyphreg-using/m-p/887831#M43971</link>
      <description>&lt;P&gt;unfortunately, PROC SURVEYPHREG does not have the EVENTCODE= option (like PROC PHREG does) to enable a competing risks analysis.&amp;nbsp; You could try using PHREG with a WEIGHT statement; the parameter estimates would be the same but not the standard errors as from SURVEYPHREG.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 06:08:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-conduct-competing-risk-based-on-proc-surveyphreg-using/m-p/887831#M43971</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2023-08-04T06:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Proc lifetest with multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-lifetest-with-multiple-imputation/m-p/887486#M43945</link>
      <description>&lt;P&gt;If you want curves for treated (events?) and untreated (censored?) separately then it seems you would have to run two PROC LIFETEST steps for each imputed data set.&amp;nbsp; &amp;nbsp;That would mean 10 PROC LIFETEST steps. I don't see any other way around this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 13:05:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-lifetest-with-multiple-imputation/m-p/887486#M43945</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2023-08-02T13:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Proc lifetest with multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-lifetest-with-multiple-imputation/m-p/887121#M43913</link>
      <description>&lt;P&gt;Have you tried "strata _imputation_" ?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 15:50:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-lifetest-with-multiple-imputation/m-p/887121#M43913</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2023-07-31T15:50:14Z</dc:date>
    </item>
  </channel>
</rss>

