<?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 Calculation of estimates using contrast statement, and the estimated survival for proc phreg in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Calculation-of-estimates-using-contrast-statement-and-the/m-p/565398#M27876</link>
    <description>&lt;P&gt;I'm trying to figure out how SAS calculates the per level estimates using contrast statements, as well as the predicted survival per person in a survival model with an interaction coefficient.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, I'm trying to predict an outcome from bmi, a binary categorical variable (1 vs. 2), a binary covariate (0 vs. 1), and an interaction term (bmi_lvl=bmi*lvl). Here's the data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data temp;
input ID foltime bmi cov lvl bmi_lvl outcome;
datalines;
1 1.2 20 0 2 40 1
2 0.5 23 1 2 46 1
3 4.5 30 0 1 30 0
4 3.6 18 0 2 36 0
5 1.0 25 0 1 25 1
6 1.2 22 0 1 22 1
7 4.0 26 1 2 52 0 
8 3.3 26 0 1 26 1
9 0.8 24 1 2 48 0
10 1.2 32 0 2 64 0
11 3.0 22 1 2 44 1
12 3.3 23 1 2 46 1
13 1.0 30 0 1 30 0
14 1.8 36 0 2 72 1
15 0.9 25 1 2 50 1
;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I plug it into the model:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc phreg data=temp outest=beta;
class cov (ref='0');
model foltime*outcome(0)=bmi lvl cov bmi_lvl/ties=efron RL;

*output statement provides the per person estimated survival;
output out=pred survival=survpred;

*contrast statement provides hazard estimates at specific BMI and level, at reference category for covariate;
*contrasting hazard at BMI 24 for levels 1 and 2;
contrast "lvl 1 at bmi 24" lvl 1 bmi 0 cov 0 bmi_lvl 24/estimate=exp e;
contrast "lvl 2 at bmi 24" lvl 2 bmi 0 cov 0 bmi_lvl 48/estimate=exp e;

*contrasting hazard at BMI 28 for levels 1 and 2;
contrast "lvl 1 at BMI 28" lvl 1 bmi 0 cov 0 bmi_lvl 28/estimate=exp e;
contrast "lvl 2 at BMI 28" lvl 2 bmi 0 cov 0 bmi_lvl 56/estimate=exp e;

run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I set BMI to 0 in the contrast statement based on example 2, page 10 of this paper,&amp;nbsp;&lt;A href="https://support.sas.com/resources/papers/proceedings10/253-2010.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings10/253-2010.pdf&lt;/A&gt;, however, I'm not sure why that is.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The coefficients are -0.8357 for BMI, -11.398 for lvl, 0.4375 for cov, and 0.4345 for bmi_lvl. Attached are the results for the contrast statements, as well as the per person estimated survival.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How does SAS calculate these?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jun 2019 20:56:55 GMT</pubDate>
    <dc:creator>Caetreviop543</dc:creator>
    <dc:date>2019-06-11T20:56:55Z</dc:date>
    <item>
      <title>Calculation of estimates using contrast statement, and the estimated survival for proc phreg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Calculation-of-estimates-using-contrast-statement-and-the/m-p/565398#M27876</link>
      <description>&lt;P&gt;I'm trying to figure out how SAS calculates the per level estimates using contrast statements, as well as the predicted survival per person in a survival model with an interaction coefficient.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, I'm trying to predict an outcome from bmi, a binary categorical variable (1 vs. 2), a binary covariate (0 vs. 1), and an interaction term (bmi_lvl=bmi*lvl). Here's the data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data temp;
input ID foltime bmi cov lvl bmi_lvl outcome;
datalines;
1 1.2 20 0 2 40 1
2 0.5 23 1 2 46 1
3 4.5 30 0 1 30 0
4 3.6 18 0 2 36 0
5 1.0 25 0 1 25 1
6 1.2 22 0 1 22 1
7 4.0 26 1 2 52 0 
8 3.3 26 0 1 26 1
9 0.8 24 1 2 48 0
10 1.2 32 0 2 64 0
11 3.0 22 1 2 44 1
12 3.3 23 1 2 46 1
13 1.0 30 0 1 30 0
14 1.8 36 0 2 72 1
15 0.9 25 1 2 50 1
;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I plug it into the model:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc phreg data=temp outest=beta;
class cov (ref='0');
model foltime*outcome(0)=bmi lvl cov bmi_lvl/ties=efron RL;

*output statement provides the per person estimated survival;
output out=pred survival=survpred;

*contrast statement provides hazard estimates at specific BMI and level, at reference category for covariate;
*contrasting hazard at BMI 24 for levels 1 and 2;
contrast "lvl 1 at bmi 24" lvl 1 bmi 0 cov 0 bmi_lvl 24/estimate=exp e;
contrast "lvl 2 at bmi 24" lvl 2 bmi 0 cov 0 bmi_lvl 48/estimate=exp e;

*contrasting hazard at BMI 28 for levels 1 and 2;
contrast "lvl 1 at BMI 28" lvl 1 bmi 0 cov 0 bmi_lvl 28/estimate=exp e;
contrast "lvl 2 at BMI 28" lvl 2 bmi 0 cov 0 bmi_lvl 56/estimate=exp e;

run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I set BMI to 0 in the contrast statement based on example 2, page 10 of this paper,&amp;nbsp;&lt;A href="https://support.sas.com/resources/papers/proceedings10/253-2010.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings10/253-2010.pdf&lt;/A&gt;, however, I'm not sure why that is.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The coefficients are -0.8357 for BMI, -11.398 for lvl, 0.4375 for cov, and 0.4345 for bmi_lvl. Attached are the results for the contrast statements, as well as the per person estimated survival.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How does SAS calculate these?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 20:56:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Calculation-of-estimates-using-contrast-statement-and-the/m-p/565398#M27876</guid>
      <dc:creator>Caetreviop543</dc:creator>
      <dc:date>2019-06-11T20:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of estimates using contrast statement, and the estimated survival for proc phreg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Calculation-of-estimates-using-contrast-statement-and-the/m-p/565705#M27880</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/86015"&gt;@Caetreviop543&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for posting this interesting question and for providing usable sample data and code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The "Details" sections of the statistical procedures' documentation are mostly helpful regarding computation formulas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let's first see what we find out about the predicted survival (probability) and use ID 1 as our example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are using the default method in the &lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_phreg_syntax18.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_blank" rel="noopener"&gt;OUTPUT statement&lt;/A&gt;, i.e. METHOD=BRESLOW.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Section &lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_phreg_details65.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_blank" rel="noopener"&gt;"Survivor Function Estimators"&lt;/A&gt; of the PROC PHREG documentation informs us that the&amp;nbsp;Breslow estimate of the survivor function is computed as exp(minus some "Lambda hat") and that&amp;nbsp;"Lambda hat," in turn, is the exponentiated linear combination of the explanatory variables (vector&amp;nbsp;&lt;FONT face="symbol"&gt;x&lt;/FONT&gt;) with the parameter estimates (vector "&lt;FONT face="symbol"&gt;b&amp;nbsp;&lt;/FONT&gt;hat") as coefficients -- multiplied with a sum with as many terms as there are&amp;nbsp;distinct uncensored times (t&lt;FONT size="1 2 3 4 5 6 7"&gt;i&lt;/FONT&gt;) less than or equal to the time t for which we want to compute the predicted survival probability (and this is the &lt;FONT face="courier new,courier"&gt;foltime&lt;/FONT&gt; of ID 1, i.e. t=1.2). There are four such times: t&lt;FONT size="1 2 3 4 5 6 7"&gt;1&lt;/FONT&gt;=0.5, t&lt;FONT size="1 2 3 4 5 6 7"&gt;2&lt;/FONT&gt;=0.9, t&lt;FONT size="1 2 3 4 5 6 7"&gt;3&lt;/FONT&gt;=1.0 and t&lt;FONT size="1 2 3 4 5 6 7"&gt;4&lt;/FONT&gt;=1.2 (note that 0.8 is a censored time, hence disregarded here).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, let's calculate each of the four terms in the sum. The numerators are easy: d(t&lt;FONT size="1 2 3 4 5 6 7"&gt;i&lt;/FONT&gt;) "is the number of subjects that have an event at" t&lt;FONT size="1 2 3 4 5 6 7"&gt;i&lt;/FONT&gt;, i.e. 1, 1, 1, 2 for i=1, 2, 3, 4, respectively (ID 10, which was &lt;EM&gt;censored&lt;/EM&gt; at t=1.2, is not counted). The denominators are sums with 15 terms (one for each ID). The factors Y&lt;FONT size="1 2 3 4 5 6 7"&gt;j&lt;/FONT&gt;(t), for our calculation:&amp;nbsp;Y&lt;FONT size="1 2 3 4 5 6 7"&gt;j&lt;/FONT&gt;(t&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;STRONG&gt;i&lt;/STRONG&gt;&lt;/FONT&gt;), are easy: The indicator function defining them is 1 if &lt;FONT face="courier new,courier"&gt;foltime&lt;/FONT&gt;&amp;gt;=t&lt;FONT size="1 2 3 4 5 6 7"&gt;i&lt;/FONT&gt;, else 0. In particular, for i=1 (the term corresponding to the smallest event time)&amp;nbsp;Y&lt;FONT size="1 2 3 4 5 6 7"&gt;j&lt;/FONT&gt;(t&lt;FONT size="1 2 3 4 5 6 7"&gt;1&lt;/FONT&gt;)=1 for all j=1, ..., 15. The other factor is computed from the explanatory variables (exp of the linear combination as above):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data calc;
if _n_=1 then set beta(keep=bmi lvl cov1 bmi_lvl rename=(bmi=_bmi lvl=_lvl cov1=_cov1 bmi_lvl=_bmi_lvl));
set temp(rename=(foltime=t));
b=bmi*_bmi+lvl*_lvl+cov*_cov1+bmi_lvl*_bmi_lvl;
e=exp(b);
y1=(t&amp;gt;=0.5);
y2=(t&amp;gt;=0.9);
y3=(t&amp;gt;=1);
y4=(t&amp;gt;=1.2);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Let's quickly use PROC MEANS to compute the four denominators:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data=calc(where=(y1)) sum; var e; run;
proc means data=calc(where=(y2)) sum; var e; run;
proc means data=calc(where=(y3)) sum; var e; run;
proc means data=calc(where=(y4)) sum; var e; run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Finally, we are ready to compute the predicted survival probability for ID 1 at time 1.2 from the value of variable E in dataset CALC (see above) for ID 1 (2.4507E-10), the d(t&lt;FONT size="1 2 3 4 5 6 7"&gt;i&lt;/FONT&gt;) values (numerators) and the four sums from the PROC MEANS steps (denominators):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;exp(-2.4507E-10 * (1/6.4531E-9 + 1/5.5999E-9 + 1/5.1514E-9 + 2/4.5907E-9))=0.78972, which confirms the value found in dataset PRED.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, let's turn to the contrasts and take the first one as an example. For this contrast you specified the L matrix (which is simply a row vector in this case) as (0, 1, 0, 24), where the four components correspond to &lt;FONT face="courier new,courier"&gt;bmi&lt;/FONT&gt;, &lt;FONT face="courier new,courier"&gt;lvl&lt;/FONT&gt;, &lt;FONT face="courier new,courier"&gt;cov&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;bmi_lvl&lt;/FONT&gt;, respectively. The estimate of L&lt;FONT face="symbol"&gt;b&lt;/FONT&gt; is, of course, L "&lt;FONT face="symbol"&gt;b&lt;/FONT&gt; hat". Thanks to the zeros in the L matrix this simplifies to the parameter estimate of &lt;FONT face="courier new,courier"&gt;lvl&lt;/FONT&gt; plus 24 times the parameter estimate of &lt;FONT face="courier new,courier"&gt;bmi_lvl&lt;/FONT&gt;: -11.39812+24*0.43454=-0.96926 (rounding error corrected!).&amp;nbsp;By means of the EXP option of the CONTRAST statement you requested exp(-0.96926)=0.3794 (exactly what is shown in the "Estimate" column in your table "Contrast Estimation and Testing Results by Row").&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Section&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetVersion=14.3&amp;amp;docsetTarget=statug_phreg_details35.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;Type 3 Tests and Joint Tests&lt;/A&gt; of the documentation tells us how the Wald Chi-Square test statistic is calculated: Since vector L "&lt;FONT face="symbol"&gt;b&lt;/FONT&gt; hat" is just a number in our case, it's sufficient to multiply the middle term, "[...]^-1", by the square of -0.96926 (see above). The middle term is a number as well (hence no matrix inversion required), but it involves the&amp;nbsp;estimated model-based covariance matrix. This can be requested by adding the &lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_phreg_syntax17.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en#statug.phreg.phrmodcovb" target="_blank" rel="noopener"&gt;COVB option&lt;/A&gt; to the &lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetVersion=14.3&amp;amp;docsetTarget=statug_phreg_syntax17.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;MODEL statement&lt;/A&gt; (after "&lt;FONT face="courier new,courier"&gt;ties=efron RL&lt;/FONT&gt;").&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;                                Estimated Covariance Matrix

Parameter                          bmi               lvl              cov1           bmi_lvl

bmi                         0.24457185        3.12231124        0.01192306       -0.12710150
lvl                         3.12231124       42.06677017       -0.52534029       -1.67093145
cov1           cov 1        0.01192306       -0.52534029        0.80994750        0.00021602
bmi_lvl                    -0.12710150       -1.67093145        0.00021602        0.06777288&lt;/PRE&gt;
&lt;P&gt;Thanks to the symmetry of this matrix and the zeros in L we only need three different entries of the matrix (call them v&lt;FONT size="1 2 3 4 5 6 7"&gt;ij&lt;/FONT&gt;, e.g. v&lt;FONT size="1 2 3 4 5 6 7"&gt;24&lt;/FONT&gt;=-1.67093145):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="symbol"&gt;c&lt;/FONT&gt;²=(-0.96926)**2/(v&lt;FONT size="1 2 3 4 5 6 7"&gt;22&lt;/FONT&gt;+48*v&lt;FONT size="1 2 3 4 5 6 7"&gt;24&lt;/FONT&gt;+576*v&lt;FONT size="1 2 3 4 5 6 7"&gt;44&lt;/FONT&gt;)=1.0447, which confirms the result in the output (including the p-value&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;1-probchi(1.0447,1)=0.3067&lt;/FONT&gt;).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looking at the&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetVersion=14.3&amp;amp;docsetTarget=statug_phreg_overview.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;Cox proportional hazards model&lt;/A&gt; we see that exp(Lb) is a hazard ratio: L=(0,1,0,24)=Z'&lt;FONT size="1 2 3 4 5 6 7"&gt;1&lt;/FONT&gt;-Z'&lt;FONT size="1 2 3 4 5 6 7"&gt;2&lt;/FONT&gt;, where the first component (0) means "equal &lt;FONT face="courier new,courier"&gt;bmi&lt;/FONT&gt; values", the second (1) means a difference of 1 between the &lt;FONT face="courier new,courier"&gt;lvl&lt;/FONT&gt; values (hence must be &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;lvl=2&lt;/FONT&gt; vs. &lt;FONT face="courier new,courier"&gt;lvl=1&lt;/FONT&gt;&lt;/STRONG&gt;, which I would include in the label of the contrast), the third (0) means "equal &lt;FONT face="courier new,courier"&gt;cov&lt;/FONT&gt; values" and the fourth (24) means&amp;nbsp;a difference of 24 between the&amp;nbsp;&lt;FONT face="courier new,courier"&gt;bmi_lvl&lt;/FONT&gt; values, which implies (because of the first and second component and the definition of &lt;FONT face="courier new,courier"&gt;bmi_lvl=bmi*lvl&lt;/FONT&gt;) &lt;FONT face="courier new,courier"&gt;bmi=24&lt;/FONT&gt;. So, I'd say the estimate 0.3794 suggests a (not significantly -- see the upper confidence limit &amp;gt;1) reduced risk for "level 2" subjects with BMI 24 compared to "level 1" subjects with the same BMI and the same COV (be it 0 or 1).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't see a similar interpretation of the second contrast you defined (&lt;FONT face="courier new,courier"&gt;"lvl 2 at bmi 24"&lt;/FONT&gt;), though, because a difference of 2 between two &lt;FONT face="courier new,courier"&gt;lvl&lt;/FONT&gt; values (taken from {1, 2}) is impossible. Note that the factor 2 cancels out (twice) in the computation of the Wald Chi-Square value, which is therefore the same as for the first contrast, while the estimate (0.1439) is just the square of the other one (0.3794).&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 22:30:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Calculation-of-estimates-using-contrast-statement-and-the/m-p/565705#M27880</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2019-06-12T22:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of estimates using contrast statement, and the estimated survival for proc phreg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Calculation-of-estimates-using-contrast-statement-and-the/m-p/566052#M27887</link>
      <description>&lt;P&gt;Ok, thank you so much for your thorough and clear response. That really helps, and will hopefully help others too.&amp;nbsp;You're right about the two level increase in the contrast statement. I thought they were measuring the hazard at a specific level, rather than a ratio. In other words, I thought each statement corresponded to the hazard at level 1 or level 2 for the same BMI, rather than a change in hazard per unit increase in level.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 20:57:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Calculation-of-estimates-using-contrast-statement-and-the/m-p/566052#M27887</guid>
      <dc:creator>Caetreviop543</dc:creator>
      <dc:date>2019-06-13T20:57:07Z</dc:date>
    </item>
  </channel>
</rss>

