<?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: How do I use proc phreg for multiple testing of a ref. population to 2 control population. in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-use-proc-phreg-for-multiple-testing-of-a-ref-population/m-p/800846#M39378</link>
    <description>&lt;P&gt;See the third example in the PROC PHREG documentation - "Modeling with Categorical Predictors."&amp;nbsp; That points out the use of the CONTRAST statement to get comparisons of interest.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
    <pubDate>Tue, 08 Mar 2022 13:52:53 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2022-03-08T13:52:53Z</dc:date>
    <item>
      <title>How do I use proc phreg for multiple testing of a ref. population to 2 control population.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-use-proc-phreg-for-multiple-testing-of-a-ref-population/m-p/800817#M39376</link>
      <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;I need some help using proc phreg to test a population to 2 control populations for my adjusted COX model.&lt;BR /&gt;I have a dataset made of 3 populations, which are matched with each other using greedy matching macro.&lt;/P&gt;&lt;P&gt;Case=1 refers to population A, which I have matched in a ratio of 1:4 to the background population(case=0, count) and population B(case=2, count_s) in a ratio of 1:1.&lt;BR /&gt;&lt;BR /&gt;The problem is that I am currently testing population A separately with the other population; so 2 populations at a time. &lt;STRONG&gt;&lt;EM&gt;I wanna to know how to test population A with both the background population and population B at the same time.&lt;/EM&gt; &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;The code I am currently&amp;nbsp;using;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Proc phreg data=dataset;
class case (Ref='0'); 
Model time_to_event * event_end (2)= variables variables variables variables /rl;
strata count;
run;

Proc phreg data=dataset;
class case (Ref='2'); 
Model time_to_event * event_end (2)= variables variables variables variables /rl;
strata count_s;
run;&lt;/PRE&gt;&lt;P&gt;Thanks for the help! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 10:07:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-use-proc-phreg-for-multiple-testing-of-a-ref-population/m-p/800817#M39376</guid>
      <dc:creator>MrTensa</dc:creator>
      <dc:date>2022-03-08T10:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use proc phreg for multiple testing of a ref. population to 2 control population.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-use-proc-phreg-for-multiple-testing-of-a-ref-population/m-p/800846#M39378</link>
      <description>&lt;P&gt;See the third example in the PROC PHREG documentation - "Modeling with Categorical Predictors."&amp;nbsp; That points out the use of the CONTRAST statement to get comparisons of interest.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 13:52:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-use-proc-phreg-for-multiple-testing-of-a-ref-population/m-p/800846#M39378</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2022-03-08T13:52:53Z</dc:date>
    </item>
  </channel>
</rss>

