<?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 sgplot for change in binary variable over time by ID in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818977#M323291</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/181158"&gt;@tarheel13&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;look at the data. is this what you intended? doesn't look like it would be to me.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tarheel13_0-1655548072831.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72410i7EDF21FAFFFB4FD3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tarheel13_0-1655548072831.png" alt="tarheel13_0-1655548072831.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;You must have converted the spaces in the data lines into some other character when you copied the code.&lt;/P&gt;</description>
    <pubDate>Sat, 18 Jun 2022 13:12:08 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2022-06-18T13:12:08Z</dc:date>
    <item>
      <title>proc sgplot for change in binary variable over time by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818943#M323279</link>
      <description>&lt;P&gt;&lt;FONT size="2"&gt;Suppose I have a dataset that looks like the one below where each subject ID can have up to 4 visits (where visit=00 is baseline) and variable disease status across visits (Yes=1, No=0). This means that one subject might have one disease status at one visit but a different status at any of the follow up visits. &amp;nbsp;For example, say subject ID=002 has disease (status=1) at baseline, then no disease at visits 01, 02, and then disease again at visit=03.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;The issue&lt;/STRONG&gt;: I need to create a graph that shows the change in disease status classification from visit to visit for each individual subject ID. But I am having some trouble visualizing how this might look like.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;What I’ve done:&lt;/STRONG&gt; One obvious way I was thinking of achieving this is, putting the disease status categories (yes=1, no=0) on the Y-axis and visit on X-axis and and then plot line plots for each subject ID.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt; I tried the code below but I cannot figure out what’s causing the x-axis for ID=011 to not display the visit numbers in order? It shows 00, 02, 03 and 01 as displayed in image below.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Is there any way to make it such that the x-axis displays all 4 visits for all participants, as opposed to only displaying the visits that each participant has?For example, ID=003 only has visits 01 and 02 but instead of the x-axis for this ID showing only those two visits, I’d like it to show all 4 visits, is that possible?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Finally, is this the best way of visualizing this data, especially given the fact that my real dataset has over 100 participants, or are there any other options I should consider?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Any help would be appreciated.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Thanks!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data dat;
input ID $ Visit $ Status $;
datalines;
001	00	0
001	01	0
001	02	0
001	03	0
002	00	1
002	01	0
002	02	0
002	03	1
003	01	1
003	02	1
004	00	1
004	02	1
004	03	0
005	00	1
005	01	0
005	02	0
005	03	0
006	02	0
007	00	0
007	01	0
008	00	1
008	02	1
008	03	0
009	00	0
009	01	1
009	02	0
009	03	1
010	00	1
011	01	0
011	03	1
;
run;

title1"Graph of change in status over time";
proc sgpanel data=dat2;
  panelby id/ uniscale=row;
  series x=visit y=status / markers
   	markerattrs=(size=10pt);
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Merdock_0-1655509849418.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72405iE760ABD97100C0F9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Merdock_0-1655509849418.png" alt="Merdock_0-1655509849418.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2022 03:59:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818943#M323279</guid>
      <dc:creator>Merdock</dc:creator>
      <dc:date>2022-06-18T03:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot for change in binary variable over time by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818945#M323280</link>
      <description>&lt;P&gt;your datalines is wrong. can you please try posting it again?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2022 02:15:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818945#M323280</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2022-06-18T02:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot for change in binary variable over time by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818946#M323281</link>
      <description>&lt;P&gt;Check the documentation&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatproc/n1jkqnmk6y6ms9n1b2vvubyzqd4a.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatproc/n1jkqnmk6y6ms9n1b2vvubyzqd4a.htm&lt;/A&gt;&lt;/P&gt;
&lt;TABLE class="xisDoc-summary"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="xisDoc-summaryNote"&gt;Note:&lt;/TH&gt;
&lt;TD class="xisDoc-summaryText"&gt;The SERIES statement plots data in data order.&lt;STRONG&gt; For this reason, the input data set should be sorted by the X variable. Otherwise, unexpected results might occur.&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Sat, 18 Jun 2022 02:28:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818946#M323281</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-06-18T02:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot for change in binary variable over time by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818952#M323283</link>
      <description>Just posted it again but it looks the same. It's working and generating the dataset when I paste it into my SAS though, are you having issues with it?</description>
      <pubDate>Sat, 18 Jun 2022 04:01:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818952#M323283</guid>
      <dc:creator>Merdock</dc:creator>
      <dc:date>2022-06-18T04:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot for change in binary variable over time by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818953#M323284</link>
      <description>&lt;P&gt;Sorry, I forgot to mention but my dataset dat2 is sorted by visit so I'm not sure why those visits for ID#011 are not showing up in the order they're supposed to. I couldn't find anything concrete in the documentation about how to get the x-axis to display all 4 visits for all participants though, or if there might be any better plot/way to visualize change in status over time by ID&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2022 04:04:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818953#M323284</guid>
      <dc:creator>Merdock</dc:creator>
      <dc:date>2022-06-18T04:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot for change in binary variable over time by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818955#M323285</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/364073"&gt;@Merdock&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Just posted it again but it looks the same. It's working and generating the dataset when I paste it into my SAS though, are you having issues with it?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The code you show creates data set DAT. Then graphs data set DAT2. So we really don't know what is in Dat2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why are you using Visit number as a character value? Series plots are a tad odd for character values on the x axis.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2022 04:43:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818955#M323285</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-06-18T04:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot for change in binary variable over time by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818956#M323286</link>
      <description>&lt;P&gt;What values do you expect to display for the ones that you did not provide???&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2022 04:51:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818956#M323286</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-06-18T04:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot for change in binary variable over time by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818967#M323289</link>
      <description>&lt;P&gt;I agree. I've worked with a lot of clinical trials data and there is usually a numeric and character visit variable but the numeric one is like 1,2,3,4 etc. Character one would have said "Screening", "Week 16", "Week 24" etc.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2022 10:25:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818967#M323289</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2022-06-18T10:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot for change in binary variable over time by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818969#M323290</link>
      <description>&lt;P&gt;look at the data. is this what you intended? doesn't look like it would be to me.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tarheel13_0-1655548072831.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72410i7EDF21FAFFFB4FD3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tarheel13_0-1655548072831.png" alt="tarheel13_0-1655548072831.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2022 10:28:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818969#M323290</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2022-06-18T10:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot for change in binary variable over time by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818977#M323291</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/181158"&gt;@tarheel13&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;look at the data. is this what you intended? doesn't look like it would be to me.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tarheel13_0-1655548072831.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72410i7EDF21FAFFFB4FD3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tarheel13_0-1655548072831.png" alt="tarheel13_0-1655548072831.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;You must have converted the spaces in the data lines into some other character when you copied the code.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2022 13:12:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818977#M323291</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-06-18T13:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot for change in binary variable over time by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818978#M323292</link>
      <description>&lt;P&gt;Fill in the holes in your series and then plot that version of the data.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql ;
  create table skeleton as
  select * 
  from (select distinct id from dat) a
     , (select distinct visit from dat) b
  ;
quit;
data dat2;
  merge skeleton dat;
  by id visit;
run;


proc sgpanel data=dat2;
  panelby id/ uniscale=row;
  series x=visit y=status / markers
    markerattrs=(size=10pt);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2022 13:13:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818978#M323292</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-06-18T13:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot for change in binary variable over time by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818979#M323293</link>
      <description>&lt;P&gt;I did not convert anything. I copied it directly from this website into SAS.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2022 13:15:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818979#M323293</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2022-06-18T13:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot for change in binary variable over time by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818980#M323294</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;do you use SAS studio? I was.&amp;nbsp;&lt;A href="https://support.sas.com/kb/50/929.html" target="_blank"&gt;https://support.sas.com/kb/50/929.html&lt;/A&gt;&amp;nbsp;I had to add this dlm='09'x to get it to work.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2022 13:17:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818980#M323294</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2022-06-18T13:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot for change in binary variable over time by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818981#M323295</link>
      <description>&lt;P&gt;I tested&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;'s code and it worked for me.&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/364073"&gt;@Merdock&lt;/a&gt;&amp;nbsp;accept&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;'s post as solution if it creates your desired results.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2022 13:19:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818981#M323295</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2022-06-18T13:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot for change in binary variable over time by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818982#M323296</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/181158"&gt;@tarheel13&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;do you use SAS studio? I was.&amp;nbsp;&lt;A href="https://support.sas.com/kb/50/929.html" target="_blank" rel="noopener"&gt;https://support.sas.com/kb/50/929.html&lt;/A&gt;&amp;nbsp;I had to add this dlm='09'x to get it to work.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I always set the SAS editor option to "&lt;SPAN&gt;Substitute spaces for tabs"&lt;/SPAN&gt;.&amp;nbsp; &lt;STRONG&gt;You should NEVER have tabs in SAS program files.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;SAS Studio has a nasty habit of NOT converting the tabs into spaces when you hit the submit button.&amp;nbsp; Unlike with SAS Display Manager.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2022 13:22:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818982#M323296</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-06-18T13:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot for change in binary variable over time by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818984#M323297</link>
      <description>&lt;P&gt;I work off 2 laptops. I got a SAS license from my school but I am not sure if it goes away after graduation. I am writing from a Mac now and was using SAS ODA. Is this the option you're talking about? I actually wasn't aware of this option until today. So do you indent your code then? And if you do, do you use 3 spaces instead of pressing the tab key?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tarheel13_0-1655558762077.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72416i8A77B013A66DC96B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tarheel13_0-1655558762077.png" alt="tarheel13_0-1655558762077.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2022 13:27:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818984#M323297</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2022-06-18T13:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot for change in binary variable over time by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818985#M323298</link>
      <description>&lt;P&gt;When you hit the tab key it does what a tab key used to do on an actual typewriter, it moves to the next tabstop.&amp;nbsp; It does not insert '09'x codes into the file.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2022 13:39:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818985#M323298</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-06-18T13:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot for change in binary variable over time by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818987#M323299</link>
      <description>&lt;P&gt;that datalines code does not work for me without '09'x and I did select that option I showed you but it didn't change anything for me. makes same print of data that I posted before.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2022 13:45:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818987#M323299</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2022-06-18T13:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot for change in binary variable over time by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818988#M323300</link>
      <description>&lt;P&gt;Make sure you have the option selected (unlike in the photograph you posted).&lt;/P&gt;
&lt;P&gt;Re-copy the lines and paste them.&amp;nbsp; Change the data step to just list the data lines.&lt;/P&gt;
&lt;PRE&gt; 69         data _null_;
 70           input;
 71           list;
 72         datalines;
 
 RULE:      ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0                     
 73         001 00  0&lt;/PRE&gt;
&lt;P&gt;If the tabs are there then something did not work as expected.&lt;/P&gt;
&lt;P&gt;What browser are you using?&amp;nbsp; I am using Chrome on Mac with SAS/Studio from SAS ODA.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that in my browser I had to scroll the preferences window to find the SAVE button to have the changes registered.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also add an INFILE statement.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;infile datalines expandtabs ;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 18 Jun 2022 14:47:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818988#M323300</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-06-18T14:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot for change in binary variable over time by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818994#M323301</link>
      <description>&lt;P&gt;I think this is already resolved as the link I posted explained the problem with SAS studio. I got the data step to work correctly already.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2022 17:24:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sgplot-for-change-in-binary-variable-over-time-by-ID/m-p/818994#M323301</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2022-06-18T17:24:05Z</dc:date>
    </item>
  </channel>
</rss>

