<?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 Confusion about KM Plot. When we get the Graph step line Going Downward and Upwards in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Confusion-about-KM-Plot-When-we-get-the-Graph-step-line-Going/m-p/790154#M252946</link>
    <description>&lt;P&gt;Hi , I am newly learning about Kaplan Meier Plot.&amp;nbsp; I always having the confusion about What kind of Graph I need to Generate. Is my line in the Graph is need to upwards or downwards. Can someone please ans me with example or provide the links about&amp;nbsp; better understanding about it. I am aware of lifetest program, CNSR etc. But I always confuse when I see the dataset and ask for creating a KM graph. I am providing example dataset, If possible please let me know with this example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Following dataset is a time to adverse event dataset (&lt;FONT color="#FF0000"&gt; I just created dummy , Please feel free to change if these numbers did not work)&lt;/FONT&gt;. in which&lt;/P&gt;
&lt;P&gt;TRT- Treatment&amp;nbsp; ( 1,2)&lt;/P&gt;
&lt;P&gt;Aeterm- Adverse event that happened&lt;/P&gt;
&lt;P&gt;AVAL= No of days it took to get the Adverse Event from the Start of the Treatment.&lt;/P&gt;
&lt;P&gt;I want to create the KM graph that indicates the time (no of days ) to the adverse event.&lt;/P&gt;
&lt;P&gt;x axis -No of days&lt;/P&gt;
&lt;P&gt;Y axis- probability. of whatever gives upward graph and downward graph&lt;/P&gt;
&lt;P&gt;My question is how I Know the graph asked&amp;nbsp; have the line going downwards or upwards,&amp;nbsp; in my case whats the probability indicates on&amp;nbsp;Y- axis if line going upwards and whats the probability indicates when it going downwards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If possible please explain graphs that can be created in both direction. I greatly appreciate all your inputs. Thanks in advance. Is there a simple way to remember? example of the graph.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; data adtte;
 input trt subjid $4. aeterm $9. aval cnsr ;
 datalines;
 1 101A Headache  4  0
 1 102A Headache  12 0
 1 103A Headache  21 0
 1 104A Headache  1  1
 1 105A Headache  1  1
 2 101A Headache  1  1
 2 102A Headache  34 0
 2 103A Headache  21 0
 2 104A Headache  48 0
 2 105A Headache  1  1
 ;
 run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;FONT color="#000080"&gt;example: graph line upwards (in case if you don't understand what I mean above)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASuserlot_0-1642173786607.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67401i8955DBA92C901B15/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASuserlot_0-1642173786607.png" alt="SASuserlot_0-1642173786607.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#00FF00"&gt;Example: Graph line going downwards&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASuserlot_1-1642173886617.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67402i939C77982E99B957/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASuserlot_1-1642173886617.png" alt="SASuserlot_1-1642173886617.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jan 2022 15:25:06 GMT</pubDate>
    <dc:creator>SASuserlot</dc:creator>
    <dc:date>2022-01-14T15:25:06Z</dc:date>
    <item>
      <title>Confusion about KM Plot. When we get the Graph step line Going Downward and Upwards</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Confusion-about-KM-Plot-When-we-get-the-Graph-step-line-Going/m-p/790154#M252946</link>
      <description>&lt;P&gt;Hi , I am newly learning about Kaplan Meier Plot.&amp;nbsp; I always having the confusion about What kind of Graph I need to Generate. Is my line in the Graph is need to upwards or downwards. Can someone please ans me with example or provide the links about&amp;nbsp; better understanding about it. I am aware of lifetest program, CNSR etc. But I always confuse when I see the dataset and ask for creating a KM graph. I am providing example dataset, If possible please let me know with this example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Following dataset is a time to adverse event dataset (&lt;FONT color="#FF0000"&gt; I just created dummy , Please feel free to change if these numbers did not work)&lt;/FONT&gt;. in which&lt;/P&gt;
&lt;P&gt;TRT- Treatment&amp;nbsp; ( 1,2)&lt;/P&gt;
&lt;P&gt;Aeterm- Adverse event that happened&lt;/P&gt;
&lt;P&gt;AVAL= No of days it took to get the Adverse Event from the Start of the Treatment.&lt;/P&gt;
&lt;P&gt;I want to create the KM graph that indicates the time (no of days ) to the adverse event.&lt;/P&gt;
&lt;P&gt;x axis -No of days&lt;/P&gt;
&lt;P&gt;Y axis- probability. of whatever gives upward graph and downward graph&lt;/P&gt;
&lt;P&gt;My question is how I Know the graph asked&amp;nbsp; have the line going downwards or upwards,&amp;nbsp; in my case whats the probability indicates on&amp;nbsp;Y- axis if line going upwards and whats the probability indicates when it going downwards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If possible please explain graphs that can be created in both direction. I greatly appreciate all your inputs. Thanks in advance. Is there a simple way to remember? example of the graph.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; data adtte;
 input trt subjid $4. aeterm $9. aval cnsr ;
 datalines;
 1 101A Headache  4  0
 1 102A Headache  12 0
 1 103A Headache  21 0
 1 104A Headache  1  1
 1 105A Headache  1  1
 2 101A Headache  1  1
 2 102A Headache  34 0
 2 103A Headache  21 0
 2 104A Headache  48 0
 2 105A Headache  1  1
 ;
 run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;FONT color="#000080"&gt;example: graph line upwards (in case if you don't understand what I mean above)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASuserlot_0-1642173786607.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67401i8955DBA92C901B15/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASuserlot_0-1642173786607.png" alt="SASuserlot_0-1642173786607.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#00FF00"&gt;Example: Graph line going downwards&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASuserlot_1-1642173886617.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67402i939C77982E99B957/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASuserlot_1-1642173886617.png" alt="SASuserlot_1-1642173886617.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 15:25:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Confusion-about-KM-Plot-When-we-get-the-Graph-step-line-Going/m-p/790154#M252946</guid>
      <dc:creator>SASuserlot</dc:creator>
      <dc:date>2022-01-14T15:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Confusion about KM Plot. When we get the Graph step line Going Downward and Upwards</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Confusion-about-KM-Plot-When-we-get-the-Graph-step-line-Going/m-p/790161#M252948</link>
      <description>&lt;P&gt;I'm guessing you have different axis labels there - specifically survival versus failure plots.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Failure is 1-survival or vice versa.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Event probability is likely a failure plot, what percent has failed at time.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your second graph is likely a survival plot, what percent remains at a specific time.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/350312"&gt;@SASuserlot&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi , I am newly learning about Kaplan Meier Plot.&amp;nbsp; I always having the confusion about What kind of Graph I need to Generate. Is my line in the Graph is need to upwards or downwards. Can someone please ans me with example or provide the links about&amp;nbsp; better understanding about it. I am aware of lifetest program, CNSR etc. But I always confuse when I see the dataset and ask for creating a KM graph. I am providing example dataset, If possible please let me know with this example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Following dataset is a time to adverse event dataset (&lt;FONT color="#FF0000"&gt; I just created dummy , Please feel free to change if these numbers did not work)&lt;/FONT&gt;. in which&lt;/P&gt;
&lt;P&gt;TRT- Treatment&amp;nbsp; ( 1,2)&lt;/P&gt;
&lt;P&gt;Aeterm- Adverse event that happened&lt;/P&gt;
&lt;P&gt;AVAL= No of days it took to get the Adverse Event from the Start of the Treatment.&lt;/P&gt;
&lt;P&gt;I want to create the KM graph that indicates the time (no of days ) to the adverse event.&lt;/P&gt;
&lt;P&gt;x axis -No of days&lt;/P&gt;
&lt;P&gt;Y axis- probability. of whatever gives upward graph and downward graph&lt;/P&gt;
&lt;P&gt;My question is how I Know the graph asked&amp;nbsp; have the line going downwards or upwards,&amp;nbsp; in my case whats the probability indicates on&amp;nbsp;Y- axis if line going upwards and whats the probability indicates when it going downwards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If possible please explain graphs that can be created in both direction. I greatly appreciate all your inputs. Thanks in advance. Is there a simple way to remember? example of the graph.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; data adtte;
 input trt subjid $4. aeterm $9. aval cnsr ;
 datalines;
 1 101A Headache  4  0
 1 102A Headache  12 0
 1 103A Headache  21 0
 1 104A Headache  1  1
 1 105A Headache  1  1
 2 101A Headache  1  1
 2 102A Headache  34 0
 2 103A Headache  21 0
 2 104A Headache  48 0
 2 105A Headache  1  1
 ;
 run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;FONT color="#000080"&gt;example: graph line upwards (in case if you don't understand what I mean above)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASuserlot_0-1642173786607.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67401i8955DBA92C901B15/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASuserlot_0-1642173786607.png" alt="SASuserlot_0-1642173786607.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#00FF00"&gt;Example: Graph line going downwards&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASuserlot_1-1642173886617.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67402i939C77982E99B957/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASuserlot_1-1642173886617.png" alt="SASuserlot_1-1642173886617.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 15:55:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Confusion-about-KM-Plot-When-we-get-the-Graph-step-line-Going/m-p/790161#M252948</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-01-14T15:55:00Z</dc:date>
    </item>
  </channel>
</rss>

