<?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>topic Re: PROC PHREG Standardized CIF estimations in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-PHREG-Standardized-CIF-estimations/m-p/867264#M42879</link>
    <description>&lt;P&gt;&amp;nbsp;I don't see anything that your are doing wrong necessarily.&amp;nbsp; Your code looks OK to me.&amp;nbsp; The BASELINE statement should be estimating the CIF at the covariate values and time you specified. We don't have a benchmark for the number of events but, as always, the more the better.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Mar 2023 14:53:29 GMT</pubDate>
    <dc:creator>OsoGris</dc:creator>
    <dc:date>2023-03-30T14:53:29Z</dc:date>
    <item>
      <title>PROC PHREG Standardized CIF estimations</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-PHREG-Standardized-CIF-estimations/m-p/864013#M42721</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I hope you can help me or point me in the right direction!&lt;/P&gt;&lt;P&gt;I'm analysing 30-day mortality for a group of patients after discharge. They are divided into different clinical groups. For each group, i report age (mean), sex, M3 comorbidity score (mean), length of stay and 30-day mortality (cumulative risk at 30 days).&lt;/P&gt;&lt;P&gt;Since the groups differ in age, sex, comorbidity and length of stay, I also want to present "standardized 30-day mortality", standardized to mean covariate values and most frequent sex.&lt;/P&gt;&lt;P&gt;However, I get some results that are off what i expect - for instance the standardized risk is lower for a group despite standardizing to a higher age and comorbidity (which does increase risk in my data as well).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used the PROC PHREG BASELINE statement - but I'm in doubt if it in fact does, what i want it to do. Is there another way I should go about it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to make the estimations with a model for each group and a model for all groups, with group as a covariate - both versions give the same problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It might also be, that there are too few events for the model to make reliable standardized estimates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't have statistical or similar education - so bear with me, if it is rubbish &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Rasmus&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;Data covar_1;
Age=58; sex='F'; M3Score=0.62; Los_H=16.2; output;
Run;

Proc phreg data=xxx plots=cif;
Where unspec_diag_gruppe = ’Abdominal pain’;
Class koen (ref=’F’);
Model mort_30_event * mort_30_days (0) = age koen M3Score / eventcode=1;
Baseline out=mort_standard covariates=covar_1 timelist=30 CIF=_ALL_;
Run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 11:56:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-PHREG-Standardized-CIF-estimations/m-p/864013#M42721</guid>
      <dc:creator>Rasmus_G</dc:creator>
      <dc:date>2023-03-14T11:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: PROC PHREG Standardized CIF estimations</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-PHREG-Standardized-CIF-estimations/m-p/867264#M42879</link>
      <description>&lt;P&gt;&amp;nbsp;I don't see anything that your are doing wrong necessarily.&amp;nbsp; Your code looks OK to me.&amp;nbsp; The BASELINE statement should be estimating the CIF at the covariate values and time you specified. We don't have a benchmark for the number of events but, as always, the more the better.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 14:53:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-PHREG-Standardized-CIF-estimations/m-p/867264#M42879</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2023-03-30T14:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: PROC PHREG Standardized CIF estimations</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-PHREG-Standardized-CIF-estimations/m-p/867415#M42882</link>
      <description>&lt;P&gt;Okay, thank you for the reply and clarification. It's great with an extra set of eyes on the code. I will "blame it" on relatively few events across the groups.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Enjoy your day.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2023 10:29:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-PHREG-Standardized-CIF-estimations/m-p/867415#M42882</guid>
      <dc:creator>Rasmus_G</dc:creator>
      <dc:date>2023-03-31T10:29:06Z</dc:date>
    </item>
  </channel>
</rss>

