<?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: Survival Analysis Question: How would I go about finding the p-value of the test that the survival rates of HOD allo patients and NHL allo patients are the same? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Survival-Analysis-Question-How-would-I-go-about-finding-the-p/m-p/159996#M8325</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think my main question is how do you use the contrast statement exactly for this problem. I found the resource for the syntax, but I don't know how to interpret the data in order to code correctly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I took a glance at the contrast statement from the SAS main website, but I still don't understand....:smileyconfused:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Nov 2014 21:29:18 GMT</pubDate>
    <dc:creator>jengarcia1122</dc:creator>
    <dc:date>2014-11-06T21:29:18Z</dc:date>
    <item>
      <title>Survival Analysis Question: How would I go about finding the p-value of the test that the survival rates of HOD allo patients and NHL allo patients are the same?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Survival-Analysis-Question-How-would-I-go-about-finding-the-p/m-p/159995#M8324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;Hello SAS community, I’m still stuck on this problem. I have looked further and have come to a standstill. Any help with be appreciated. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;I have a homework problem where a sample of bone marrow transplants for Hodgekin's and NON-Hodgekin's Lymphoma. All patients had either Hodgekin's disease (HOD) or non-Hodgekin's lymphoma (NHL) and were given an allogeneic (allo) transplant or autogeneic (auto) transplant. This information is non-identifiable and taken from a graduate text book.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;So, total there are four types of groups of patients. the first variable graft is used as a dummy variable . The variable, Score, is the pretransplant Karnofsky, Z1 and the variable, Wait, is the waiting time to transplant.&lt;SPAN class="apple-converted-space"&gt; This is unidentifiable data.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: #222222; background-position: initial;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: #222222; background-position: initial;"&gt;I have two methods of coding for type of disease (HOD or NHL) and type of treatment (allo or auto) below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;data problem8_5;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt;input trt disease time status z1 z2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt;*first coding method: each 4 group as separate dummy variables;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt;if trt=2 and disease=1 then NHLauto=1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt;else NHLauto=0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt;if trt=1 and disease=2 then HODallo=1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt;else HODallo=0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt;if trt=2 and disease=2 then HODauto=1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt;else HODauto=0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt;*2nd coding method: type of treatment, type of disease, and interaction;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt;if trt=2 then auto=1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt;else auto=0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt;if disease=2 then HOD=1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt;else HOD=0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt;datalines;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt;1 1 28 1 90 24&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt;1 1 32 1 30 7&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt;1 1 49 1 40 8&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #222222;"&gt;with the following models, respectively:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;proc phreg data=problem8_5;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt;class NHLauto(ref='0') HODauto(ref='0') HODallo(ref='0')/param=ref;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt;model time*status(0)= HODallo NHLauto HODauto/ties=breslow;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #222222;"&gt;*and;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Helvetica, sans-serif;"&gt;proc phreg data=problem8_5;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt;class HOD auto;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt;model time*status(0)= auto HOD auto*HOD/ties=breslow type3;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt;contrast 'HOD auto vs NHL auto' HOD 1 -1 auto 0 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; font-family: inherit, serif;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #222222;"&gt;I successfully found the p-value of the test that the survival rates of HOD auto vs. NHL auto are the same in the second PHREG procedure with the CONTRAST statement, which came back as the correct p-value=0.31, but just switching 'auto 0 1' to 'auto 1 0' does not give me the correct p-value for the two allo groups (which should be p-value=0.007)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 20:46:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Survival-Analysis-Question-How-would-I-go-about-finding-the-p/m-p/159995#M8324</guid>
      <dc:creator>jengarcia1122</dc:creator>
      <dc:date>2014-11-06T20:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Survival Analysis Question: How would I go about finding the p-value of the test that the survival rates of HOD allo patients and NHL allo patients are the same?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Survival-Analysis-Question-How-would-I-go-about-finding-the-p/m-p/159996#M8325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think my main question is how do you use the contrast statement exactly for this problem. I found the resource for the syntax, but I don't know how to interpret the data in order to code correctly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I took a glance at the contrast statement from the SAS main website, but I still don't understand....:smileyconfused:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 21:29:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Survival-Analysis-Question-How-would-I-go-about-finding-the-p/m-p/159996#M8325</guid>
      <dc:creator>jengarcia1122</dc:creator>
      <dc:date>2014-11-06T21:29:18Z</dc:date>
    </item>
  </channel>
</rss>

